Hi all. I've been looking through the Dynamic Docks example and was wondering whether there were a way to add docks and zones exclusively through client-side script?
What I'm ultimately trying to do (and trying to decide if we can leverage the RadDock and zone controls for this) is to have a series of docks on the screen in a single zone, with each dock acting as a container for a zone and other docks... in this case, the container docks are Categories and the child docks are Items within those categories. The items should be sortable within a category, and draggable to other categories. The categories themselves should be sortable as well.
I have a simple example with some pre-defined category and item docks working as a proof-of-concept to show that we could have nested docks this way. But I would then need to allow a user the ability client-side to create new categories and items as well. Can we mimic a $create(Telerik.Web.UI.RadDoc...) call within a client button's onclick event or otherwise create the new docks/zones from javascript?
What I'm ultimately trying to do (and trying to decide if we can leverage the RadDock and zone controls for this) is to have a series of docks on the screen in a single zone, with each dock acting as a container for a zone and other docks... in this case, the container docks are Categories and the child docks are Items within those categories. The items should be sortable within a category, and draggable to other categories. The categories themselves should be sortable as well.
I have a simple example with some pre-defined category and item docks working as a proof-of-concept to show that we could have nested docks this way. But I would then need to allow a user the ability client-side to create new categories and items as well. Can we mimic a $create(Telerik.Web.UI.RadDoc...) call within a client button's onclick event or otherwise create the new docks/zones from javascript?