Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditFormItem && e.Item.IsInEditMode && e.Item.OwnerTableView.Name ==
"Detail1"
)
RadComboBox combo = (RadComboBox)e.Item.FindControl(
"Combobox1"
);
combo.DataSource=
//set the data source here.
}
<
DetailTables
>
telerik:GridTableView
Name
=
DataSourceID
"SqlDataSource2"
runat
"server"
AllowPaging
"true"
PageSize
"2"
AutoGenerateColumns
"false"
DataKeyNames
"EmployeeID"
Columns
telerik:GridEditCommandColumn
</
telerik:GridTemplateColumn
EditItemTemplate
telerik:RadComboBox
ID
. . . . . . . . . . . . . . . . . . . . .