Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Dock > Dynamic Table Of Zones And Docks

Answered Dynamic Table Of Zones And Docks

Feed from this thread
  • Virgil Rodriguez avatar

    Posted on Dec 14, 2011 (permalink)

    Hello,

    I have been searching for any example of what I'm trying to achieve, to no avail.

    Is it possible to do the following:

    • have a table where the rows and the columns can be dynamically added (possibly by "Add Row" or "Add Column" buttons) and within each table cell, a RadDockZone is created?
    • have RadDocks also dynamically created (say by a "Create 5 Docks" button), and placed initially on the RadDockZone on the first table cell which can then be moved around the previously dynamically created RadDockZones on the table?

    I have tried to do this, but I can't seem to persist the newly created zones and docks. How do I accomplish this?

    Thanks in advance for any help.

    Reply

  • Answer Slav Slav admin's avatar

    Posted on Dec 19, 2011 (permalink)

    Hi Virgil,

    I would suggest checking the help article Dynamically Creating RadDock Controls for detailed explanation of creating RadDocks dynamically and persisting their layout. Overall, you should always check if the state of every dock control is applied correctly and if the RadDocks and RadDockZones are always recreated with the same ID, when the page is reloaded.

    For your convenience I have prepared a sample project, demonstrating programmatic creation of RadDock and RadDockZone controls. Please use it as a reference for incorporating the desired functionality into your actual project.

    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
    Attached files

    Reply

  • Virgil Rodriguez avatar

    Posted on Dec 20, 2011 (permalink)

    Thanks Slav.

    I will try your suggestion and let you know how it goes.

    Merry Christmas to you all.

    Reply

  • Virgil Rodriguez avatar

    Posted on Dec 21, 2011 (permalink)

    Thank you once again Slav.

    With your sample code as a guide, I was able to make my own code work.

    Telerik Customer Support is really awesome !!!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Dock > Dynamic Table Of Zones And Docks
Related resources for "Dynamic Table Of Zones And Docks"

ASP.NET Dock Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]