Hi guys,
1)
When using an Itemtemplate, shouldn't the selected item keep the text it has in the list?
Now, in the combobox list you get the full names of the referees, while the selected item only displays the first name.
When binding the data I have stated:
combo.DataTextField = "RefereeFirstName"
so in a way this might be normal, but I would think the itemtemplate should override it for the selected item as well as the others.
Not setting the DataTextField only results in the classic system.data.datarowview text being displayed instead.
So, in order to get all the names for the selected item, what would you do?
2)
Another problem I'm getting related to using an itemtemplate is when adding an item dynamically:
combo.Items.Insert(0, New RadComboBoxItem("My Text", 0)) works fine in itself, the item is inserted. But it has no text in the list, while the text is displayed when the item is selected.
I am using Q1 2009.
Regards,
-DJ-
1)
When using an Itemtemplate, shouldn't the selected item keep the text it has in the list?
<ItemTemplate> |
<div class="rcbItem"> |
<%#Eval("RefereeFirstName") & " " & Eval("RefereeMidName") & " " & Eval("RefereeLastName")%> |
</div> |
</ItemTemplate> |
Now, in the combobox list you get the full names of the referees, while the selected item only displays the first name.
When binding the data I have stated:
combo.DataTextField = "RefereeFirstName"
so in a way this might be normal, but I would think the itemtemplate should override it for the selected item as well as the others.
Not setting the DataTextField only results in the classic system.data.datarowview text being displayed instead.
So, in order to get all the names for the selected item, what would you do?
2)
Another problem I'm getting related to using an itemtemplate is when adding an item dynamically:
combo.Items.Insert(0, New RadComboBoxItem("My Text", 0)) works fine in itself, the item is inserted. But it has no text in the list, while the text is displayed when the item is selected.
I am using Q1 2009.
Regards,
-DJ-