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

RadPanelBar expanded after refresh

6 Answers 168 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Balan
Top achievements
Rank 1
Balan asked on 06 May 2008, 04:53 PM
Somebody knows how I keep a RadPanelBar expanded after refresh ?

6 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 06 May 2008, 06:32 PM
Hi Balan,

Please, set PersistStateInCookie="true" for RadPanelbar.


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Balan
Top achievements
Rank 1
answered on 07 May 2008, 12:57 PM
Tanks for reply ;).But I have one more little problem. It is working for IE, but no for Mozilla. Can I resolve that ? Have a nice day !

0
Rosi
Telerik team
answered on 07 May 2008, 01:10 PM
Hello Balan,

This approach worked under Firefox at our side. Please see our online example - http://www.telerik.com/demos/aspnet/prometheus/Panelbar/Examples/Functionality/PersistStateInCookie/DefaultCS.aspx. Did you experience the same problem with it?

Also, you can programmatically persist the state. How to do this can be seen here.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Balan
Top achievements
Rank 1
answered on 07 May 2008, 03:26 PM
Your example works fine. But I have the same problem. I try to set by code he state of the panelbar, as you suggest me, but still didn't work.
0
Rosi
Telerik team
answered on 08 May 2008, 08:21 AM
Hello Balan,

I suggest that you open a support ticket and send a simple and running project illustrating the problem.We will test it locally and provide you with a solution.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Vikram
Top achievements
Rank 1
answered on 20 Nov 2012, 08:43 AM
hi everyone,
after i used 'PersistStateInCookie="true"' in the sharepoint master page my code works as expected.

here my code:
  <telerik:RadPanelBar ID="QuickLaunchPanelBar" SelectionMode="Single" runat="server"
                  DataSourceID="SiteMapDS" PersistStateInCookie="true" ExpandMode="SingleExpandedItem" />                                             

it save a lot of time  .

Thanks for support.                       
Tags
PanelBar
Asked by
Balan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Balan
Top achievements
Rank 1
Rosi
Telerik team
Vikram
Top achievements
Rank 1
Share this question
or