Drag and drop

3 posts, 0 answers
  1. Victor
    Victor avatar
    23 posts
    Member since:
    Feb 2015

    Posted 25 Aug 2015 Link to this post

    is possible to re size RadDockZone to either 320 x 270px or 640 x 270px?

    Then, allow the user to add new RadDockZones dynamically when an "add zone" button is clicked?



  2. Victor
    Victor avatar
    23 posts
    Member since:
    Feb 2015

    Posted 25 Aug 2015 in reply to Victor Link to this post

    The user should be able to re size the RadDockZone. In the UI. Is it possible
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ianko
    Ianko avatar
    1535 posts

    Posted 28 Aug 2015 Link to this post

    Hello Victor,

    The DockZone controls can be added programmatically via server-side approach. You can refer to this demo (http://demos.telerik.com/aspnet-ajax/dock/examples/dynamicdocks/defaultcs.aspx), where Dock controls are being added dynamically, but use similar logic fro DockZone ones.

    To add specific dimensions to the DockZone, you can use teh Width and Height properties:
    <telerik:RadDockZone runat="server" ID="DockZone1" Width="640px" Height="270px">

    As for resizing, you can simply use CSS rule to create resizable dock zones:
    .RadDockZone {

    However, the control is not designed to be resizable, and thus, the size is not persisted to the server. By that, after post back the initial Width and Height will be restored.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top