Hi,
I'm having an issue that i spent all day yesterday trying to resolve. I'm hopeful that you can help me. I'm using rad grid and javascript as my data source. My first column which is a combo box wont let me bind. In the rad combo box settings if I set allowcustomtext="false" it will bind but the first item in the grid is automatically selected so that's not what I want. I'd like to have allowcustomtext="true" to give the user the option to enter an item or select an item but when I set allowcustomtext="true" it does not bind. I've attached 2 screen shots. first which allowcustom text false and the other allow custom text true and you can see the difference.
thanks,
Ron.
I'm having an issue that i spent all day yesterday trying to resolve. I'm hopeful that you can help me. I'm using rad grid and javascript as my data source. My first column which is a combo box wont let me bind. In the rad combo box settings if I set allowcustomtext="false" it will bind but the first item in the grid is automatically selected so that's not what I want. I'd like to have allowcustomtext="true" to give the user the option to enter an item or select an item but when I set allowcustomtext="true" it does not bind. I've attached 2 screen shots. first which allowcustom text false and the other allow custom text true and you can see the difference.
<
telerik:GridTemplateColumn
DataField
=
"Item"
UniqueName
=
"Item"
>
<
ItemStyle
/>
<
ItemTemplate
>
<
telerik:RadComboBox
ID
=
"ddlItems"
runat
=
"server"
AutoPostBack
=
"false"
DataSourceID
=
"objItems"
DataTextField
=
"Items"
DataValueField
=
"Items"
Skin
=
"Silk"
OnClientDropDownOpening
=
"DropDownOpening"
OnClientSelectedIndexChanged
=
"ItemValueChanged"
EnableViewState
=
"true"
AllowCustomText
=
"false"
Width
=
"150px"
Height
=
"150px"
ondatabound
=
"ddlItems_DataBound"
OnItemsRequested
=
"ddlItems_Requested"
CssClass
=
"SelectedItem"
FocusedStyle-BackColor
=
"#fff6dc"
Text='<%# Eval("Item") %>'>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Ron.