Doc panal Problem

2 posts, 0 answers
  1. Ted Bielenda
    Ted Bielenda avatar
    9 posts
    Member since:
    Apr 2010

    Posted 15 May 2010 Link to this post



          I am using RadDock. I am using this like as follows...

    telerik:RadDock ID="RadDock1" DefaultCommands="ExpandCollapse" runat="server" Title="Parts" Pinned ="true" Width="820" DockHandle="TitleBar">












    Using control hare like "Grid Control" and other control in itemtemplate of the grid like this "radUpload:RadUploadProgressArea"











    But this is giving me error on design time :- 

    Error Creating Control- RadDock1
    The control collection cannot be modified during DataBind,Init,Load,PreRender or Upload Phases.

    And one more think When i am making 



    =true  This is giving javascript error on run time.

    Please help me in the case





  2. Pero
    Pero avatar
    1156 posts

    Posted 19 May 2010 Link to this post

    Hi Ted,

    I tested the following code and it did not gave me any errors at design and run time.

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head id="Head1" runat="server">
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
                <telerik:RadDockZone ID="RadDockZone1" runat="server" MinHeight="300px" Width="300px">
                    <telerik:RadDock ID="RadDock1" runat="server" DefaultCommands="ExpandCollapse" Title="Parts"
                        Width="820px" DockHandle="TitleBar" Collapsed="true" Height="253px">
                            <telerik:RadGrid ID="Grid1" runat="server">
                                                <telerik:RadUpload ID="RadUpload1" runat="server">

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Telerik.Web.UI;
    using System.Web.Caching;
    public partial class Default_Dock : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            Grid1.DataSource = new string[] { "1", "4", "3", "2", "4", "3", "2", "4", "3", "2" };

    I noticed that you have set Pinned="true", but the PinUnpin command is not used (only the ExpandCollapse command is used). The Pinned property should be used in accordance with the PinUnpin command, and the dock cannot be docked when the property is set to "true".

    If the problem persists, please send us some sample code that demonstrates the issues, and we will do our best to help you.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top