Attaching client event for column editors on init insert

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 31 Aug 2006 Link to this post

    Requirements

    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

    Javascript

    Browser support

    all supported by RadGrid for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


     
    PROJECT DESCRIPTION
    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.