jquery - Show Message When Click On asp:Gridview -


I would like to show a warning () when a user clicks on asp: gridview. In column 1

I am having a gridview that fills with linq;

  & asp: GridView id = "GridInbox" runat = "server" width = "813px" cellpadding = "4" ForeColor = "# 333333" gridline = "none" & gt; & Lt; / ASP: GridView & gt;   

How to 2 ==> Column [1]. Wide = 10;

Update:

If this is a bound column

  & asp: BoundColumn onClientClick = "javascript: alerts ('blah blah');" / & Gt;   

If this is the template column

   & Lt; / Div & gt; & Lt; / ItemTemplate & gt;   

Do you mean something like this?

  & lt; Div onclick = "javascript: alert ('click');" & Gt; & Lt; Asp: gridview runat = "server" & gt; & Lt; / ASP: gridview & gt; & Lt; / Div & gt;    

Comments