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

Combobox tooltip on Onmouse hover

1 Answer 307 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 20 Sep 2011, 01:52 PM
Hi ,

I want the tool tip should be shown on hovering the items on radcombobox, I am loading all the items on server side itself.
Onclient side i want to show the item text when hovering on mouse.

Please guide me.

Regards,
Xavier

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Sep 2011, 06:24 AM
Hello Xavier,

One easiest approach is to use ToolTip inside template as shown below.
aspx:
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select" DataTextField="Name">
<ItemTemplate>
  <asp:Label runat="server" ID="Label1" Text='<%# Eval("Name")%> '></asp:Label>
  <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="100" Height="10" TargetControlID="Label1" Position="BottomRight" Text='<%# Eval("Name")%>'>
 </telerik:RadToolTip>
</ItemTemplate>
</telerik:RadComboBox>

Also take a look into the following help document for more on templates.
Templates Overview.

Thanks,
Shinu.
Tags
ComboBox
Asked by
Xavier
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or