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

RowDrop using OpenAccessDataSource

3 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaimie
Top achievements
Rank 1
Jaimie asked on 06 Nov 2009, 04:13 PM
How can i achieve reording in RowDrop function if the RadGrid is using OpenAccessDataSource as the datasource?

I implemented reorder items code in RowDrop using normal SQL update statement. The SQL update statement passed all checking and retured true for the update process. Howevever, it seems the order in the database doesn't change at all and the RadGrid.Rebind() returns the same order as before. 

Can anyone help me out?

Thanks

3 Answers, 1 is accepted

Sort by
0
Jaimie
Top achievements
Rank 1
answered on 08 Nov 2009, 05:16 AM
Anyone?
0
Sebastian
Telerik team
answered on 10 Nov 2009, 10:28 AM
Hi Jaimie,

You can use the sample project from the code library entry linked below as a starting point:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/radgrid-items-reorder-using-db-backend.aspx 

If you follow the idea to update the order of the underlying rows and rebind the grid afterwards, using OpenAccessDataSource for grid item generator should not make any conceptual difference.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Felipe de Jesús
Top achievements
Rank 1
answered on 03 Jul 2012, 09:06 PM
Greetings.

How i can add a confirmation after release the row? If i confirm, then execute the update procedure, if not, cancel the row change.

Kind regards.
Tags
Grid
Asked by
Jaimie
Top achievements
Rank 1
Answers by
Jaimie
Top achievements
Rank 1
Sebastian
Telerik team
Felipe de Jesús
Top achievements
Rank 1
Share this question
or