I'm trying to setup tooltips on our product listing page. The problem I'm seeing is that tooltips don't seem to be showing up on Literal controls. Is this true? Are there other asp.net types that tooltips cannot be applied to?
2 Answers, 1 is accepted
0
Accepted
Georgi Tunev
Telerik team
answered on 28 Sep 2009, 10:15 AM
Hi Nik,
The Literal control doesn't have any visual appearance on a Web Form but is used to insert literal text into a Web Form. For example if you examine the HTML dump of a page with the following code in it
<asp:Literal ID="lit1" runat="server">some text</asp:Literal>
you will notice that only the text is rendered on the page - that is why there is no tooltip. If you want to have a tooltip on the text, you need to wrap it in some container - DIV, or P for example, with the corresponding "title" property.