Hello All,
I am using a grid with batch edit mode and I am unable to find/bind a RadComboBox in an EditItemTemplate. I have tried itemdatabound and prerender and neither seem to work.
Any advice one where it should be bound and how to find it would be greatly appreciated.
Thanks, Paul.
I am using a grid with batch edit mode and I am unable to find/bind a RadComboBox in an EditItemTemplate. I have tried itemdatabound and prerender and neither seem to work.
Any advice one where it should be bound and how to find it would be greatly appreciated.
Thanks, Paul.
<
telerik:GridTemplateColumn
HeaderText
=
"Job"
HeaderStyle-Width
=
"180px"
UniqueName
=
"Job"
DataField
=
"jobid"
>
<
ItemTemplate
>
<%# Eval("jobnumber") %>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"rcbJobID"
runat
=
"server"
EmptyMessage
=
"Select a Job."
CausesValidation
=
"false"
Width
=
"90px"
HighlightTemplatedItems
=
"true"
DropDownWidth
=
"350px"
DataValueField='<%# Eval("jobid") %>'>
<
HeaderTemplate
>
<
table
style
=
"width: 320px;"
class
=
"dropdownheader"
>
<
tr
>
<
td
style
=
"width: 150px;"
>Job #
</
td
>
<
td
style
=
"width: 170px"
>Job Name
</
td
>
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
style
=
"width: 320px;"
>
<
tr
>
<
td
style
=
"width: 150px"
>
<%# DataBinder.Eval(Container, "Text")%>
</
td
>
<
td
style
=
"width: 170px; text-align: left;"
>
<%# DataBinder.Eval(Container, "Attributes['Description']")%>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>