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_ItemCreated(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
GridEditableItem edit = (GridEditableItem)e.Item;
TextBox txt = (TextBox)edit.FindControl(
"TextBox1"
);
txt.AutoPostBack =
true
;
txt.TextChanged +=
new
EventHandler(txt_TextChanged);
}
txt_TextChanged(
sender, EventArgs e)
TextBox txt = (TextBox)sender;
GridEditableItem edit=(GridEditableItem)txt.NamingContainer;
(txt.Text ==
"12"
)
Label lbl = (Label)edit.FindControl(
"Label1"
lbl.Text =
"your text"