Problem with Ajax and RadDock

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    28 posts
    Member since:
    Jul 2010

    Posted 14 Jan 2011 Link to this post

    Hi All

    We have an application that utilises Themes and Master Pages.

    Within out master page we have a AjaxManager where we specify the control settings. Eveyrthing works fine - grids etc - but for some reason RadDock throws an error. Grids 'animate' as we would expect the dockzone throws an error.

    Have tried using Proxy and other methods but cannot find the issue.

    The RadDock saves the layout and allows new content to be added. All docks and content are loaded dynamically.

    So in the master pages we have....

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="RadDockZone1">
                        <telerik:AjaxUpdatedControl ControlID="RadDockZone1" LoadingPanelID="LoadingPanel1" UpdatePanelHeight="" />
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="LoadingPanel1" UpdatePanelHeight="" />

    then the raddock.....

    <telerik:RadDockLayout runat="server" ID="RadDockLayout1" OnSaveDockLayout="RadDockLayout1_SaveDockLayout"
           OnLoadDockLayout="RadDockLayout1_LoadDockLayout" EnableEmbeddedSkins="false"
           <table id="TableLayout" runat="server">
               <tr valign="top">
                       <telerik:RadDockZone BorderWidth="0px" FitDocks="true" runat="server" ID="RadDockZone1"
                           Width="280" MinHeight="480">
                       <telerik:RadDockZone runat="server" BorderWidth="0px" ID="RadDockZone2" Width="280"
                       <telerik:RadDockZone runat="server" BorderWidth="0px" ID="RadDockZone3" Width="280"

    Can anyone point in the right direction as to why the raddock area causes issues

    Thanks in advance

  2. Pero
    Pero avatar
    1156 posts

    Posted 18 Jan 2011 Link to this post

    Hi Geoff,

    Instead of ajaxifying a single zone, please ajaxify the whole docking layout by wrapping it inside an ASP.NET Panel and ajaxfy the panel. Then make sure that the docks are always docked, DockMode="Docked" so that they do not leave the area ajaxified by the AjaxManager, or a javascript error will be thrown.
    Let me know how it goes.

    Best wishes,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top