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
GridEditableItem && e.Item.IsInEditMode)
GridEditableItem item = (GridEditableItem)e.Item;
TableCell cell = item[
"ColumnUniqueName"
];
DropDownList list =
new
DropDownList();
list.ID =
"ddl"
;
list.DataSourceID =
"SqlDataSource1"
list.DataTextField =
"EmployeeID"
list.DataValueField =
cell.Controls.Add(list);
}