Combobox tooltip on Onmouse hover

2 posts, 0 answers
  1. Xavier
    Xavier avatar
    7 posts
    Member since:
    Jul 2011

    Posted 20 Sep 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Sep 2011 Link to this post

    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.
Back to Top