Hi - I have a raddock that is not retaining its state after a postback.
Scenario: I expand the dock, do some operation that triggers a postback, and when the page loads again, the dock is collapsed.
Expected: I want the dock to retain state, and load expanded.
I was using rad controls version 2009.1.402.20 and this was behaving fine. I'm currently updating to version 2011.3.1115.35 and I'm facing this problem.
Here's a sample of the code that I'm using -
<telerik:RadDockLayout runat="server" ID="[DUMMYID-1]">
<telerik:RadDockZone runat="server" ID="[DUMMYID-2]" Orientation="vertical" Skin="Vista" Width="99.7%">
<telerik:RadDock runat="server" ID="[DUMMYID-3]" Title="More"
Style="min-height: 0px; margin: 0px auto; visibility: hidden;" Collapsed="true"
DefaultCommands="ExpandCollapse" Skin="Vista" EnableDrag="false"
DockHandle="None" Width="99.5%" BorderStyle="None">
<ContentTemplate>
...... [some code here]
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
I tried adding the following to the raddocklayout attributes but this doesn't help.
EnableViewState="true" StoreLayoutInViewState="true"
Appreciate any help. Thanks.
ps: Also if you could point to me some documentation that would help me migrate from older version to newer version of rad controls for asp.net ajax.