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

Paging, binding, RadTabStrip

3 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard Boarman
Top achievements
Rank 1
Richard Boarman asked on 10 Nov 2010, 05:26 PM
I have a page that contains a radtabstrip with five tabs.
There is a RadMultiPage that corresponds to each tab.
Each RadMultiPage contains a grid, and each grid does some item manipulation on _OnItemDatabound. Each grid also has paging enabled.
Everything works fine until I go the next page in grid X on Tab X. If I then click Tab Y, Grid Y has lost the changes that had occurred when it was databound. If I forced the grid to rebind, it would fix the problem, but I would rather not rebind this grid.
What causes this grid to revert to it's original state (before onItemDatabound modified the column content)?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 15 Nov 2010, 05:53 PM
Hi Richard,

I followed your scenario in order to replicate the issue you are facing but to no avail. Please find attached to this message a simple test project and let me know what is the difference in your case.

I hope this helps.

Greetings,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Richard Boarman
Top achievements
Rank 1
answered on 17 Nov 2010, 09:55 PM
Thank you for taking the time to look at this issue. After some trouble shooting, I realized that the grids that are not visible will not automatically rebind. This needed to occur since the grids were loaded dynamically and modifications were applied in OnItemDatabound. I hooked up a method to rebind any hidden grid in the event of a post back of the visible tab.

Thanks
0
Pavlina
Telerik team
answered on 19 Nov 2010, 05:00 PM
Hello Richard,

I suggest that you review this help article for more information about RadGrid Visible/Invisible conventions
If you have other questions or problems, please do not  hesitate to contact us again.

Sincerely yours,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart 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
Grid
Asked by
Richard Boarman
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Richard Boarman
Top achievements
Rank 1
Share this question
or