I came across an issue with the Dock control. Our company website has a dock containing 5 Rad Ajax panels. The Ajax panels contain RadGrids. If a user clicks on the Expand / Collapse button before the panel has opened or closed, other panels can disappear. The dock is created Dynamically in a control:
The panels and grid live in markup:
I've searched the forums and found similar issues, but I have not been able to identify this particular problem.
Does anyone have any suggestions?
// Create/Configure dock
RadDock radDock = new RadDock();
radDock.DockMode = DockMode.Docked;
radDock.ID = defWidget.DashboardDefinitionWidgetId.ToString();
radDock.Title = dashboardWidget.WidgetName;
// Set various state information
if (firstLoad && !String.IsNullOrEmpty(defWidget.DockState))
{
DockState state = DockState.Deserialize(defWidget.DockState);
radDock.Closed = state.Closed;
radDock.Collapsed = state.Collapsed;
}
The panels and grid live in markup:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewResults.ascx.cs" Inherits="Wachter.ETHOS.Web.Search.ViewResults" %>
<
div
style
=
"width:100%;height:26px"
id
=
"divSearchHeader"
runat
=
"server"
visible
=
"false"
>
</
div
>
<
telerik:RadToolTipManager
runat
=
"server"
ID
=
"rtmManager"
Position
=
"Center"
RelativeTo
=
"Mouse"
Width
=
"600px"
Height
=
"225px"
ShowEvent
=
"OnMouseOver"
HideEvent
=
"LeaveTargetAndToolTip"
/>
<
telerik:RadAjaxPanel
id
=
"rudPanel"
runat
=
"server"
EnableAJAX
=
"True"
LoadingPanelID
=
"rlPanel"
>
<
telerik:RadGrid
ID
=
"rgrdResults"
runat
=
"server"
/>
</
telerik:RadAjaxPanel
>
<
telerik:RadAjaxLoadingPanel
runat
=
"server"
ID
=
"rlPanel"
/>
<
asp:textBox
ID
=
"txtSQL"
runat
=
"server"
Rows
=
"10"
Columns
=
"100"
TextMode
=
"MultiLine"
Visible
=
"false"
/>
<
asp:textBox
ID
=
"txtViewCustomizer"
runat
=
"server"
Rows
=
"5"
Columns
=
"100"
TextMode
=
"MultiLine"
Visible
=
"false"
/>
I've searched the forums and found similar issues, but I have not been able to identify this particular problem.
Does anyone have any suggestions?