Note that there are some explanatory texts on larger screens.

plurals
  1. POShow defintion for GridView column name on mouse hover
    primarykey
    data
    text
    <p>The following is the code for my Gridview on the client side.</p> <pre><code>&lt;asp:GridView ID="gvwClaims" runat="server" AllowPaging="true" PageSize="20" OnPageIndexChanging="gvwClaims_PageIndexChanging" OnRowDataBound="gvwClaims_RowDataBound" RowStyle-CssClass="GridViewRowStyle" HeaderStyle-CssClass="GridViewHeaderRowStyle" AlternatingRowStyle-CssClass="GridViewAlternatingRowStyle" AutoGenerateColumns="false" BorderStyle="None" CellPadding="2" OnRowCommand="gvwClaims_RowCommand"&gt; &lt;HeaderStyle CssClass="GridViewHeaderRowStyle" /&gt; &lt;PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" /&gt; &lt;PagerStyle CssClass="gridPagerStyle" /&gt; &lt;AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" /&gt; &lt;Columns&gt; &lt;asp:BoundField DataField="DateFrom" HeaderText="Date"&gt; &lt;ItemStyle Width="50" /&gt; &lt;/asp:BoundField&gt; &lt;asp:TemplateField HeaderText="Number"&gt; &lt;ItemTemplate&gt; &lt;asp:LinkButton ID="ClaimLink" runat="server" CommandName="View" CssClass="GridLink" Visible='&lt;%# ((String)Eval("HPType") == "number") %&gt;' Text='&lt;%# Eval("No") %&gt;'&gt;&lt;/asp:LinkButton&gt;&lt;asp:Label runat="server" ID="NoLink" Visible='&lt;%# ((String)Eval("Type") == "number") %&gt;' Text='&lt;%# Eval("No") %&gt;'&gt;&lt;/asp:Label&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:BoundField DataField="Prov" HeaderText="Name"&gt; &lt;ItemStyle /&gt; &lt;/asp:BoundField&gt; &lt;asp:BoundField DataField="PlcSvc" HeaderText="Place"&gt; &lt;ItemStyle /&gt; &lt;/asp:BoundField&gt; &lt;asp:BoundField DataField="HpType" HeaderText="Plan"&gt; &lt;ItemStyle /&gt; &lt;/asp:BoundField&gt; &lt;asp:BoundField DataField="Status" HeaderText="Status" /&gt; &lt;/Columns&gt; &lt;EmptyDataTemplate&gt; &lt;div id="pnlEmptyClaims" runat="server" class="NoRecs"&gt; &lt;span style="font-style: italic"&gt;No recent history is available.&lt;/span&gt;&lt;/div&gt; &lt;/EmptyDataTemplate&gt; &lt;RowStyle CssClass="GridViewRowStyle" /&gt; &lt;/asp:GridView&gt; </code></pre> <p>I have a GridView and I want to make the column names intractable.</p> <p>In the past I have used div elements and css code to change mouse pointer on hover and then an event on mouse click.</p> <p>But now, I want to use this gridview and when a user hovers on the column name, I want a small bubble to popup with a definition for the column name: for example :- "Date" and "Number" and "Name", etc. </p> <p>I am thinking about using ajax, jquery techniques. </p> <p>While I research on the internet, I would appreciate if you any of you have experience with this technique/can point me in the correct direction. </p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload