In my RadGrid I have a template column in which I want a text box for the Edit Item Template, and a drop down list for the Insert Item template. I know this seems a bit odd - but I'm just wondering if it's possible? I've spent too much time trying to get it to work. No matter what I do, the Edit Item template overrides the Insert Item Template.
<
telerik:GridTemplateColumn
DataField
=
"DocDesc"
FilterControlAltText
=
"Filter column column"
HeaderText
=
"Document Name"
UniqueName
=
"DocList"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"DocDescTextBox"
enabled
=
"false"
runat
=
"server"
Text='<%# Bind("DocDesc") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"DocDescLabel"
runat
=
"server"
Text='<%# Eval("DocDesc") %>'></
asp:Label
>
</
ItemTemplate
>
<
InsertItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadDocList"
Enabled
=
"true"
runat
=
"server"
DataSourceID
=
"sqlGetDocList"
DataTextField
=
"DocDesc"
DataValueField
=
"DocNum"
>
</
telerik:RadComboBox
>
</
InsertItemTemplate
>
</
telerik:GridTemplateColumn
>