RadDock

8 posts, 0 answers
  1. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 23 Sep 2010 Link to this post

    Dear Telerik-Team,

    how can I restrict/limitate a RadDock only to a RadDockZone. Currently it is posile to place a RadDock everywhere on the page. I want to limitate the RadDock to the RadDockZone. But how?

    Thanks in advanced.

    Kind regards
    Christan
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 23 Sep 2010 Link to this post

    Hello Christan,

    You should use either of the following properties:
    • ForbiddenZones - specifies the zones where the dock is not allowed to dock
    • AllowedZones - specifies the zones where the dock is allowed to dock

    AllowedZones was introduced in the latest official release, Q2 2010.

    Best wishes,
    Pero
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 24 Sep 2010 Link to this post

     

    Dear Pero,

    Sorry but you misunderstood my question. I know the properties Allowed- and ForbiddenZones. But that’s not the behavior I want.

    If you drag a RadDock you can place it everywhere on the page. Also outside of a RadDockZone, but this behavior I don't want. It must be only possible to place a RadDock in a RadDockZone or nowhere on the page!

    Kind regards
    Christian

  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 24 Sep 2010 Link to this post

    Hello Uwe,

    Thank you for the clarification. I believe the DockMode property will help you achieve the desired behavior. Set it to Docked and the dock can reside only in zones, it cannot be placed on the page. Here is a demo showing this: http://demos.telerik.com/aspnet-ajax/dock/examples/dockmode/defaultcs.aspx.

    All the best,
    Pero
    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
  6. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 24 Sep 2010 Link to this post

    Dear Pero,

    thanks for you reply.

    Yes this is the half way to the solution I'm looking for. :) But I want to give the user the possibility to place the RadDock in the RadDockZone without restricted to a raster. It must be possible to place the RadDock in a RadDockZone and to pin point it to a position within the RadDockZone!

    Kind Regards
    Chrsitian
  7. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 24 Sep 2010 Link to this post

    Hi Uwe,

    This cannot be achieved with the RadDock control. I suppose you are talking about the RestrictionZone functionality of the RadWindow control, as shown in the following demo: http://demos.telerik.com/aspnet-ajax/window/examples/restrictionzone/defaultcs.aspx. Maybe you should try switching to the RadWindow control for this specific scenario. The window also has ContentTemplate, where you can add controls and custom content.

    Best wishes,
    Pero
    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
  8. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 24 Sep 2010 Link to this post

    Dear Pero,

    thanks a lot. I know that the RadWIndow achieve this behavior, but if I add a lot of RadWindows the performence is pure and the screen flickers. Is this a normal behavior? And also unfortunaltly the RadWindow don't maintain its viewstate so its a lot of work to archive also this.

    Kind Regards
    Christian
  9. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 29 Sep 2010 Link to this post

    Hi Uwe,

    The RadWindow has the feature that you want and I recommend you to use that control in order to achieve the desired result. Indeed, you need to manually maintain the settings of the RadWindows, because they do not persist their state.

    The flickering which occurs is not an expected behavior and I am not quite sure what is causing this problem in your case. Could you please send me a runnable project (you need to open a new support ticket) which shows the flickering behavior? I will check it and do my bets to provide a working solution as soon as possible.


    Best wishes,
    Fiko
    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
UI for ASP.NET Ajax is Ready for VS 2017