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

[Solved] Radgrid inside a user control doesnot refresh after rebind

2 Answers 194 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Govy Rajappan
Top achievements
Rank 1
Govy Rajappan asked on 21 Nov 2009, 07:44 PM
I have a radgrid inside a radajaxpanel in a user control. There is a link button in the command item template of the grid, upon clicking the button the grid should refresh with the new dataset assigned to the datasource property of the grid. But the radgrid doesnot refreshes even after the rebind command instead it keeps displaying the old dataset. I am using the Grid.Rebind() command in the ItemCommand event. The page containing the user control has ajaxmanager.Any help in this regard would be helpful.

Thanks
Govy.

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 26 Nov 2009, 08:58 AM
Hello Govy,

Could you please specify if the problematic user control is loaded dynamically with ajax? If it is, please confirm that you followed the steps described here. You can also try disabling the ajax of the mentioned RadAjaxPanel and see if the grid is properly refreshed then and if callback or regular postback is performed.

Give it a try and do let me know how it goes.

Best wishes,
Iana
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
Govy Rajappan
Top achievements
Rank 1
answered on 01 Dec 2009, 09:01 AM
Actually we have figured out the problem. We were using Sort expressions which was withholding the sort expressions and hence not rereshing the grid. Once we cleared the Sort Expressions the grid started to refresh fine.

Thanks.
Govy.
Tags
Grid
Asked by
Govy Rajappan
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Govy Rajappan
Top achievements
Rank 1
Share this question
or