Attaching client event for column editors on init insert

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 31 Aug 2006 Link to this post


    RadGrid for ASP .NET version

    RadControls for ASP .NET AJAX version

    3.5.1 and later

    2008.1.415 and later

    .NET version

    2.0 and later

    Visual Studio version

    2005 and later

    Programming language


    Browser support

    all supported by RadGrid for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX

    The demo illustrates how to access the textbox column editors in the insertion form (on init insert) and attach an onchange handler to them. Note that we reference the item which is about to be inserted in the thead grid tag and traverse the inputs in it to hook their onchange event. These steps take place in the GridCreated handler of the grid.

    Note: the example uses InPlace auto-generated edit form, however similar technique (with slight modifications in the code) is applicable with EditForms, FormTemplate or WebUserControl custom edit forms.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.