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

Grid Refresh in NeedDataSource after Delete

1 Answer 161 Views
Grid
This is a migrated thread and some comments may be shown as answers.
LEWINA
Top achievements
Rank 1
LEWINA asked on 20 Apr 2009, 09:16 PM

We are experiencing a problem with the RadGrid in the Q1 2009 version of the RadControls. We have setup a NeedsDataSoure method that gets the data for the grid. When a user deletes a row from the grid, the NeedsDataSoure method is called successively. However, the grid is not refreshed and the deleted item still appears in the grid. We tried calling DataBind manually, but the Grid Control won't let us do that because it takes place automatically in the NeedsDataSoure method? Is this a known bug with the Q1 2009 release? We have found quite a few problems with the Q1 2009 release, and are not sure whether we should use it. Can someone from Telerik please assist us with this issue as soon as possible. If this is a bug with the product, we are going to have to back out the release.

Anthony

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 23 Apr 2009, 02:10 PM
Hello LEWINA,

This behavior is not expected. Please, take a look at the following online example and give it a try: Automatic Operations. Perhaps, you are deleting the record through an ajax request and the response that comes back from the server fails to update the grid due to incorrect ajax settings. Could you provide more information.

Thank you.


Best wishes,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
LEWINA
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or