how to do PinUnpin in Dock

2 posts, 0 answers
  1. Naunton
    Naunton avatar
    70 posts
    Member since:
    Jun 2010

    Posted 21 Jun 2010 Link to this post

    Hi dear all,

    I want to add treeview on the left side of the page and make it PinUnpin. But it doesn't work.
    I choice Defaultcommand= PinUnpin
    When I run it this error occour.

    "Telerik.Web.UI.RadDock with ID='RadDock1' is docked into a Telerik.Web.UI.RadDockZone with ID='RadDockZone1', but it is not allowed to dock. Please, set the DockMode property to Docked, or undock the Telerik.Web.UI.RadDock control."

    Pls, help me how to do it work smoothly.

    Thanks and best Regards
    Naunton
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 23 Jun 2010 Link to this post

    Hi Naunton,

    RadDock can be pinned only if it is in DockMode='Floating". When the PinUnpin command is enabled, if you place the dock in a zone the command will not be shown: http://demos.telerik.com/aspnet-ajax/dock/examples/commands/defaultcs.aspx.

    The error shown usually results when the dock is initially in a zone (in the .aspx at design time) and has DockMode="Floating".


    Kind regards,
    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
Back to Top