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

Auto hide Radsliding Zone on postback

1 Answer 27 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 02 Jul 2013, 01:57 PM
I have created a sliding zone that contains a listbox of property addresses.  The user clicks on one of the properties and a postback occurs that populates the page with the property data.  When the page loads, the sliding zone is still extended out and the only way to get it to retract is to move the mouse over the sliding pane's control.  I've tried to force a retraction by setting the dockedpaneid on page load but that has no effect.  Any ideas on how I can do this?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 04 Jul 2013, 01:22 PM
Hi Jon,

By design, RadSplitter preserve the state of the expanded/docked sliding panes over postback. If you need to avoid this behaviour you need to manually reset the ExpandedPaneId property of the sliding zone, e.g.:

protected void Page_Load(object sender, EventArgs e)
{
    sZone1.ExpandedPaneId = string.Empty;
}

I hope this helps.

Regards,
Dobromir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Splitter
Asked by
Jon
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or