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

RadDock/RadAjaxPanel Collapse/Expand Bug

1 Answer 186 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 16 May 2013, 08:36 PM
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:

// 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?

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 18 May 2013, 11:46 AM
Hi Joseph,

I have prepared a sample page using your code and the information you provided, nevertheless I was not able to reproduce any problems while collapsing or expanding the RadDocks. You can find attached my sample. Please compare it to your actual project and check if there are differences in the setup. I have also prepared a short video that shows the behavior on my end so that you can examine it and let me know if I am missing something.

Please provide a more detailed description of the problem you encountered as I am not quite sure of the exact scenario. If possible send step by step instructions for reproducing it. You can demonstrate them in a video, similar to the one I attached.

You can also list the modifications that need to be made to my sample in order to examine the problem locally and suggest a solution after inspecting it.

Regards,
Slav
the Telerik team
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 their blog feed now.
Tags
Dock
Asked by
Joseph
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or