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

Removing and adding items in RadGrid

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mahesh
Top achievements
Rank 1
mahesh asked on 29 Jul 2011, 01:07 PM
Hi Friends,

I have two radgrids.

On click of a movebutton i am moving items from grid1 to grid2. and on click of removebutton the selected item from grid2 will be moved to grid1.
This will happen only on clientside and doesnot effect my database untill i click on Savebutton.

This should happen using ajax call.

Can anyone provide me any link or sample code for this?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 04 Aug 2011, 09:49 AM
Hello Mahesh,

Since RadGrid is a databound control and it can display only rows for records that it is bound to, you would need to refresh the datasource on moving a row, as shown in this demo.

For guidelines on how to implement a custom client-side approach, you could check out this forum thread:
Drag and Drop RadGrid in clientside

Greetings,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
mahesh
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or