Dynamic Creation of Layout, Zones and Docks

6 posts, 0 answers
  1. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 30 Nov 2007 Link to this post

    Hi,

    I'm dynamically adding a RAD dock layout to my page inside Me.form adding all the controls within the form to the RAD dock, then adding DockZones dynamically into Panels within the original page and docks dyanically to these zones....

    This all works fine and I can move my docks around on the page between zones, retrieve thier new dock positions on postback etc, but when I want to change the dock positions on the server side I can't seem to make this happen....

    How do you change the positions of docks on the serverside?
  2. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 30 Nov 2007 Link to this post

    Also can only can any control belong inside raddocklayout or just raddockzone?
  3. Jacques Woolston
    Jacques Woolston avatar
    35 posts
    Member since:
    Apr 2007

    Posted 01 Dec 2007 Link to this post

    No need to reply, I've worked this all out now.
  4. Jack Dunn
    Jack Dunn avatar
    7 posts
    Member since:
    Apr 2006

    Posted 10 Dec 2007 Link to this post

    Jacques,

    Would you mind sharing how you worked out dynamically adding the RadDockZones to the RadDockLayout?

    Thanks,

    Jack
  5. Golu
    Golu avatar
    41 posts
    Member since:
    Dec 2008

    Posted 21 May 2009 Link to this post

    Dear sir,
    could you please give me a code to how to loded all 3's dynamically and saved in database

    thank

  6. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 25 May 2009 Link to this post

    Hi Neha,

    We do not have an example where RadDockZones and RadDocks are created dynamically and the state is saved in DB. We have a similar example however, where the RadDockZones are in UserControls and you could change the UserControl which is added to the page(e.g. change the current layout) . Please find it attached.

    All the best,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top