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

Telerik Example not working

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 17 Sep 2008, 06:37 PM
I am trying to use this example:
http://www.telerik.com/community/code-library/submission/b311D-bcdkac.aspx

When I click on apply changes it does not save, I cannot even access the objects.  Is there a way that when you click apply changes it fires an event that does the work in the code behind and saving the grid in the updated order?

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 18 Sep 2008, 01:13 PM
Hi Mike,

The reason for the postback, is that the changes made on the client need to be updated to RadGrid's data source. Only in this way we succesfully save the changes. RadGrid, as a databound object, cannot persist changes in the data source that are not updated in the data source itself. Therefore we need to reflect the changed row order in our data source and rebind the grid.

Also note that we are saving the new order index on a hidden input that is also accessible on the server. If you could share with us some more information on why the sample is not working at your site, we might be able to find the source of the problem.

Regards,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or