Attaching event for auto-generated editor on item insertion
Cancel
The title field is required!
Thread is closed for posting
1
posts,
0
answers
-
63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
1572
posts
Member since:
Oct 2004
Posted 09 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 |
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.
-