Click here to Skip to main content
15,908,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i have problem i need to have tool tip in grid view .when mouse click on help show tool tip i add help in part of grid view with this code
XML
<ItemTemplate>
                   <asp:LinkButton ID="lnkEdit" runat="server" CausesValidation="False" CommandName="Edit"
                       Text="اصلاح" Visible="False"></asp:LinkButton>
                   <asp:LinkButton ID="btnHelp" runat="server" CausesValidation="false" CommandArgument="Select" Text="Help"></asp:LinkButton>
               </ItemTemplate>
               <HeaderStyle HorizontalAlign="Left" />
           </asp:TemplateField>





please help me
Posted
Updated 2-Jun-15 2:59am
v2

You can use either Title="<your text="">" or you can use Bootstrap as tool tip

For bootstrap use this link
http://www.w3schools.com/bootstrap/bootstrap_tooltip.asp[^]
 
Share this answer
 
On your link button call the following function

XML
<script>
$(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip();
});
</script>


And give some title to your button...

thanks.
 
Share this answer
 
Comments
Member 11686005 5-Jun-15 22:46pm    
hi sorry but i don't know in which line of code i can use
hi thanks but i send a code i have text = help in code i need when mouse go on help have a tool tip please help me to add
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900