Multi column combo box doesnt highlight on mouse over

3 posts, 1 answers
  1. Dwight
    Dwight avatar
    27 posts
    Member since:
    Aug 2011

    Posted 09 Oct 2011 Link to this post

    Hi

    This is the first post that I have made :)

    I have tried many different options before asking and have searched high and low on the internet for a workable solution but cant find one so apologies if this has been addressed before

    My radcomboboxes all function perfectly with a nice mouseover highlight to show which record is being hovered but when I make my radcombobox a multicolumn it no longer highlights

    Can anyone point me in the right direction

    Here is the markup for the combobox

    <telerik:RadComboBox ID="RiskCriteriaRadComboBox" Runat="server" DataSourceID="RiskCriteriaDefs"
        DataTextField="RiskCriteria" DataValueField="RiskCriteria"
        DropDownWidth="400px" SelectedValue='<%# Bind("RiskCriteria") %>'
        Width="140px">
        <HeaderTemplate>
            <table text-align:left"="">
                <tr>
                    <td style="width:100px;">
                        Criteria</td>
                    <td style="width:300px;">
                        Definition</td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table text-align:left"="">
                <tr>
                    <td style="width:100px;">
                        <%#DataBinder.Eval(Container.DataItem, "RiskCriteria")%>
                    </td>
                    <td style="width:300px;">
                        <%#DataBinder.Eval(Container.DataItem, "Definition")%>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </telerik:RadComboBox>


  2. Answer
    Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 09 Oct 2011 Link to this post

    Hi Dwight,

    In order to get rows to highlight when using templates, set this property on your RadComboBox:

    HighlightTemplatedItems="true"

    Thad
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dwight
    Dwight avatar
    27 posts
    Member since:
    Aug 2011

    Posted 10 Oct 2011 Link to this post

    Hey Thad

    Thats brilliant, thx so much for that

    Dwight

Back to Top