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.OwnerTableView.IsItemInserted && e.Item
is
GridEditFormInsertItem)
//item is about to be inserted
GridEditFormInsertItem insertItem = (GridEditFormInsertItem)e.Item;
TextBox txt = (TextBox)insertItem[
"UniqueName"
].Controls[0];
txt.ReadOnly =
false
;
}
(!(e.Item
GridEditFormInsertItem) && e.Item.IsInEditMode)
//item is about to be edit
GridEditFormItem editItem = (GridEditFormItem)e.Item;
TextBox txt = (TextBox)editItem[
true