Attaching event for auto-generated editor on item insertion

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

    Posted 09 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

    1.x, 2.0 (RadGrid for ASP .NET)
    2.0 and later (RadControls for ASP .NET AJAX)

    Visual Studio version

    2002/2003 (RadGrid for ASP .NET)
    2005 and later (RadControls for ASP .NET AJAX)

    Programming language

    C#,VB, 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 LastName textbox editor on item insertion and attach an onchange handler to it. Note that we store the unique id of the textbox editor in a window object attribute (global scope variable) and then trace the textbox on the client with a document.forms[0][textboxName] reference.

    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