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
<
Columns
>
telerik:GridBoundColumn
DataField
=
"EmployeeID"
UniqueName
</
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted)
GridEditFormInsertItem insertItem = (GridEditFormInsertItem)e.Item;
TextBox txt = (TextBox)insertItem[
].Controls[0];
txt.Text =
"default text"
;
// fill TextBox with some default data
}