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

radwindow next button

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lee Vang
Top achievements
Rank 1
Lee Vang asked on 09 Jan 2014, 04:28 PM
In my radgrid, I have a linkbutton column which opens up a radwindow.  The radwindow shows some details and has some editable fields and a save button.  I have a requirement from the users that once they click the save button in the window, they want the window to save their changes then automatically load the next radgrid row's details.  How would I go about doing something like this?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 14 Jan 2014, 10:53 AM
Hi,

In order to achieve the described behavior you could use the approach for using RadWindow to edit records in RadGrid illustrated in this online demo as a starting point. You would need to add some additional logic in order for the RadWindow to be kept open and to open the next record in the database for editing when the Update button is clicked.

I am attaching a sample project as illustration for the described approach. Note that on Update command the ID for the next record is passed as argument. RadGrid is updated so it displays the changes and editNext() function is called in order to display the next record in the edit window.


Regards,
Viktor Tachev
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.
Tags
Grid
Asked by
Lee Vang
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or