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

RadPanelItem ID?

1 Answer 119 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
pinky
Top achievements
Rank 1
pinky asked on 21 May 2009, 09:09 PM

Requirements

RadControls version

 

.NET version

 

Visual Studio version

 

programming language

 

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
[enter description here, together with step-by-step instructions on how to use the project]
I am trying to use a telerik tooltip on a radpanelbar. The situtation i am in is i want to place a tooltip message on each radpanelitem.
Following is my code and i dont know how to make a radpanelitem a targetcontrol!

 

<telerik:RadPanelItem ForeColor="#333F90" CssClass="ProviderRadPanelBar" runat="server"

 

 

Text="&nbsp &nbsp &nbsp CLAIMS STATUS" NavigateUrl="Claim_Status.aspx">

 

 

<ItemTemplate>

 

 

<telerik:RadToolTip RelativeTo="Element" ID="RadToolTip1" runat="server" Width="100"

 

 

Height="10" TargetControlID="RadPanelItem1" Position="MiddleRight" Text="A great feature available to you! From here you can check the payment status of

 

a claim you have submitted.">

 

</telerik:RadToolTip>

 

 

</ItemTemplate>

 

 

</telerik:RadPanelItem>

 


I have used a example TargetControlid, but how do i actually target it?



1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 25 May 2009, 11:17 AM
Hi Pinky,

When you want to tooltipify items without an ID you have two options - to add an ID attribute and use it as a target or to create tooltips on the client via the RadToolTipManager. You can find both approaches demonstrated below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltiptreeview/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipcalendar/defaultcs.aspx

Please, examine the demos' code, choose one of the approaches and use it as a start point for your implementation.

Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
pinky
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or