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

save group-header state over postback event

3 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 04 May 2011, 04:36 AM
Hello,

I want to maintain the gropheader state even though page has a postback event. I found link. Can you please provide it in VB since I am not able to hook up itemcommand event.

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 06 May 2011, 01:24 PM
Hi prayag,

Find the VB.NET version of the demo in the attached file.

Best wishes,
Iana
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.

0
prayag ganoje
Top achievements
Rank 1
answered on 08 May 2011, 04:24 PM
Thanks for the sample code. It wroked for me excluding one scenario.

If I moved to some other page and come back to ths portal page through browser back button then browser takes the page from cache itself and hence does not calls the page load event. And DataBound event does not raise.

Now, here code fails. Though there are expaanded group headers, page displays it as collapsed. 

I dont know but can I disable cashing for that page since rest of the docks on the page uses cashing ?

I also caanot disable browser back button since it will be inconsistant with rest of the web pages.

What will be the best method to achieve this ?
0
Iana Tsolova
Telerik team
answered on 09 May 2011, 02:39 PM
Hi prayag,

Is the page ajaxified?
If so, you can mplement browser history through the ScriptManager. Find more information below:
http://dotnetslackers.com/articles/aspnet/AFirstLookAtASPNETExtensions35HistoryPoints.aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.addhistorypoint.aspx
http://msdn.microsoft.com/en-us/library/cc488548.aspx

All the best,
Iana
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
Grid
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
prayag ganoje
Top achievements
Rank 1
Share this question
or