Display help text per item

2 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 31 May 2013 Link to this post

    Is there a way to display different text as a user hovers over individual items for a rad combobox? I don't care if it's a tool tip or not, it's just simple text. Basically, I have a combo box of abbreviated items, and I'd like to display the full name as you hover over them to select one.
  2. Plamen
    Plamen avatar
    3031 posts

    Posted 05 Jun 2013 Link to this post


    One way to achieve this scenario is as in the code below:

    <telerik:RadComboBox ID="RadComboBox2" runat="server" Width="217px"
                 DataSourceID="SqlDataSource1" DataTextField="ProductName" DataValueField="ProductID">
                              <asp:Label runat="server" ID="Label1" Text='<%# Eval("ProductName")%> '></asp:Label>
                              <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="100" Height="10" TargetControlID="Label1"
                                  Position="BottomRight" Text='<%# Eval("ProductID")%>'>
                          <CollapseAnimation Duration="200" Type="OutQuint" />
            <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
                  ProviderName="System.Data.SqlClient" SelectCommand="SELECT [ProductID], [ProductName] FROM [Products] ORDER By ProductName" />

    Hope this will be helpful.
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top