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
void
grid_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridHeaderItem)
GridHeaderItem item = (GridHeaderItem)e.Item;
TableCell cell = (TableCell)item[
"UniqueName"
];
DropDownList ddl =
new
DropDownList();
ddl.DataSourceID =
"SqlDataSource1"
;
ddl.DataTextField=
"ID"
ddl.DataValueField =
cell.Controls.Add(ddl);
}