This is a migrated thread and some comments may be shown as answers.

Batch Edit Client Side Add Row Event?

2 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 08 Oct 2013, 06:49 AM
Hi Team Telerik,

Is there an event to which I can subscribe that creates the new row on the client side in batch editing mode so that I can add custom logic? I need to execute a JavaScript function when the user clicks the add record button in batch editing mode. Is this possible?

Thanks in advance,
Jonathan

2 Answers, 1 is accepted

Sort by
0
Accepted
Angel Petrov
Telerik team
answered on 11 Oct 2013, 05:45 AM
Hi Jonathan,

Actually there are two events which can be used.

The first will be fired when the row is being created and the second one after it is created.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Jonathan
Top achievements
Rank 1
answered on 16 Oct 2013, 05:33 PM
Thanks Angel.

It appears that I was using the right event handler all along, but the script I was calling was being triggered too fast (which is why I thought it wasn't working). I had to use setTimeOut to get the desired result.

Thanks anyway.
Tags
Grid
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or