This is a migrated thread and some comments may be shown as answers.

Tooltip skin issue

1 Answer 96 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
jfs67
Top achievements
Rank 1
jfs67 asked on 25 Oct 2007, 07:47 PM
I "love" the tooltip at the tooltip demo url:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/ShowEvent/DefaultCS.aspx#

When you hover above the help button the white, slightly transparent tooltip is exactly what we need.  The tooltip is inside of a datalist (we are currently using a module.css file)

<asp:DataList ID="RssDataList" runat="server" CssClass="Normal" DataSourceID="RezHubRssDataSource1"
 <ItemTemplate> 
        <div class="rss_item" style="width:<%=RssWidth%>;"
             
            <href="javascript:;" id="RssNews" runat="server"
            <span style="color:<%=RssColor%>"><%#XPath("title")%></span></a> 
             
                <telerik:RadToolTip Position="TopCenter" RelativeTo="Element" ID="RadToolTip1" EnableViewState="false" 
                    ShowEvent="OnClick" ManualClose="true" runat="server" CssClass="rh_tooltip"
                   <div id="rh_deal" class="rh_tip" style="width:<%=RssWidth%>;" runat="server"
                        <%#XPath("description")%> 
                            <div class="readmore_link"><id="ReadMore" href='<%#XPath("link")%>' runat="server">Read more...</a></div>                 
                   </div>         
                </telerik:RadToolTip>  
        </div> 
 </ItemTemplate> 
</asp:DataList> 

In the item databound event of the datalist, the following code wires up the tooltip item for item

Dim titleLink As System.Web.UI.HtmlControls.HtmlAnchor = CType(e.Item.FindControl("RssNews"), HtmlAnchor) 
            If Not (titleLink Is Nothing) Then 
                Dim radToolTip As Telerik.Web.UI.RadToolTip = CType(e.Item.FindControl("RadToolTip1"), Telerik.Web.UI.RadToolTip) 
                If Not (radToolTip Is Nothing) Then 
                    radToolTip.TargetControlID = titleLink.ClientID 
                    radToolTip.IsClientID = True 
                End If 
            End If 

We drastically need something different that the "default skin". Would anyone per chance enlighten me one more time how to do this?

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 29 Oct 2007, 02:12 PM
Hi jfs67,

The RadToolTip you mention actually uses the Default skin. So I am not sure I completely understand your question - whether you want to modify the Default skin or not. Here you can find instructions on how to modify an existing skin. Please, provide more information on your particular appearance problem so we can provide more accurate assistance.

All the best,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
jfs67
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or