Hi,
I'm using a rad combo within the grid control. I would like to set an empty message to display the text "Select item" when the page loads or if there's no item selected. But it does not work. I've done a some research on this and from everything I've read I'm supposed to set the "AllowCustomText=True". I've tried it both ways with no success. If I open the combobox and close it without selecting an item the empty message then shows but it doesn't show initially or on load. Can you help?
thanks,
Ron.
I'm using a rad combo within the grid control. I would like to set an empty message to display the text "Select item" when the page loads or if there's no item selected. But it does not work. I've done a some research on this and from everything I've read I'm supposed to set the "AllowCustomText=True". I've tried it both ways with no success. If I open the combobox and close it without selecting an item the empty message then shows but it doesn't show initially or on load. Can you help?
<
telerik:GridTemplateColumn
DataField
=
"Item"
UniqueName
=
"Item"
>
<
ItemStyle
/>
<
ItemTemplate
>
<
telerik:RadComboBox
ID
=
"ddlItems"
runat
=
"server"
AutoPostBack
=
"false"
DataSourceID
=
"objItems"
DataTextField
=
"Items"
DataValueField
=
"Items"
Skin
=
"Default"
OnClientDropDownOpening
=
"DropDownOpening"
OnClientSelectedIndexChanged
=
"ItemValueChanged"
EnableViewState
=
"true"
AllowCustomText
=
"False"
Width
=
"150px"
Height
=
"150px"
EmptyMessage
=
"Select Item"
ondatabound
=
"ddlItems_DataBound"
FocusedStyle-BackColor
=
"#fff6dc"
Text='<%# Eval("Item") %>'>
</
telerik:RadComboBox
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Ron.