I have several usercontrols that utilize many RadDock elements. These usercontrols are loaded as content for multiview pages.
This is an excerpt from my default.aspx
This is a sample usercontrol for uc2:activeshifts (I removed all of the controls in the content template to save space). This exact control can be considered identical for the remaining usercontrols.
On each usercontrol, I have a button that refreshes the current multipageview, when I select the button to refresh the content, the other pageview docks are rearranged in order on the page.
Each usercontrol uses a different dockzone and docklayout, so the controls shouldn't be affecting them. Is there a way to prevent the other docks from rearranging on postback?
This is an excerpt from my default.aspx
<
telerik:RadMultiPage
ID
=
"radShifts"
runat
=
"server"
BorderColor
=
"Black"
BorderStyle
=
"Inset"
BorderWidth
=
"2px"
SelectedIndex
=
"0"
Width
=
"100%"
>
<
telerik:RadPageView
ID
=
"pvActiveShifts"
runat
=
"server"
>
<
uc2:activeshifts
runat
=
"server"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"pvActivePending"
runat
=
"server"
>
<
uc2:activeshiftspending
runat
=
"server"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"pvCancelledPending"
runat
=
"server"
>
<
uc2:cancelledshiftspending
ID
=
"cancelledshiftspending"
runat
=
"server"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"pvCancelledArchived"
runat
=
"server"
>
<
uc2:cancelledshiftsarchived
ID
=
"cancelledshiftsarchived"
runat
=
"server"
/>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
This is a sample usercontrol for uc2:activeshifts (I removed all of the controls in the content template to save space). This exact control can be considered identical for the remaining usercontrols.
<
telerik:RadDockLayout
ID
=
"dockLayout1"
runat
=
"server"
>
<
telerik:RadDockZone
ID
=
"zone1"
runat
=
"server"
Orientation
=
"Vertical"
BorderStyle
=
"None"
Skin
=
"Black"
>
<
telerik:RadDock
ID
=
"dockActiveShiftsFilter"
runat
=
"server"
Skin
=
"Black"
Width
=
"100%"
DefaultCommands
=
"None"
Title
=
"Filter"
DockMode
=
"Docked"
>
<
ContentTemplate
>
</
ContentTemplate
>
</
telerik:RadDock
>
<
telerik:RadDock
ID
=
"dockActiveShiftsFilled"
runat
=
"server"
Skin
=
"Black"
Width
=
"100%"
DefaultCommands
=
"ExpandCollapse"
Title
=
"Shifts Filled"
DockMode
=
"Docked"
>
<
ContentTemplate
>
</
ContentTemplate
>
</
telerik:RadDock
>
<
telerik:RadDock
ID
=
"dockActiveShiftsAvailable"
runat
=
"server"
Skin
=
"Black"
Width
=
"100%"
DefaultCommands
=
"ExpandCollapse"
Title
=
"Shifts Available"
DockMode
=
"Docked"
>
<
ContentTemplate
>
</
ContentTemplate
>
</
telerik:RadDock
>
</
telerik:RadDockZone
>
</
telerik:RadDockLayout
>
On each usercontrol, I have a button that refreshes the current multipageview, when I select the button to refresh the content, the other pageview docks are rearranged in order on the page.
Each usercontrol uses a different dockzone and docklayout, so the controls shouldn't be affecting them. Is there a way to prevent the other docks from rearranging on postback?