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

Multi column combo box doesnt highlight on mouse over

2 Answers 134 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dwight
Top achievements
Rank 1
Dwight asked on 09 Oct 2011, 06:00 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Thad
Top achievements
Rank 2
answered on 09 Oct 2011, 06:09 PM
Hi Dwight,

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

HighlightTemplatedItems="true"

Thad
0
Dwight
Top achievements
Rank 1
answered on 11 Oct 2011, 01:19 AM
Hey Thad

Thats brilliant, thx so much for that

Dwight

Tags
ComboBox
Asked by
Dwight
Top achievements
Rank 1
Answers by
Thad
Top achievements
Rank 2
Dwight
Top achievements
Rank 1
Share this question
or