RadDock and RadWindow

2 posts, 0 answers
  1. PPSDevs
    PPSDevs avatar
    21 posts
    Member since:
    Mar 2009

    Posted 01 Mar 2010 Link to this post

    I have a scenario in my project where I Have to fill in a webform using details from a PDF form. My PDF form is displayed in a RadWindow, when the web page is loaded. Webpage has two panes (documentPane and formPane, implemented using RadSplitter and RadPane controls.) The bottom Pane displays the web form. What I want to be able to do is DOCK the window displaying the PDF form in the documentPane so that my users can have both the document and webform visible all the time.

    Can this be achieved using RadDock control? How? I could find any example that would help me with this scenario. Please let me know or if you can send me a sample tutorial, that would be great.

  2. Pero
    Pero avatar
    1156 posts

    Posted 02 Mar 2010 Link to this post

    Hi MSS,

    Both controls provide "dock" functionality in one way or another (it depends on what do you mean by docking the window/dock).

    1. RadWindow has Pin/Unpin command that will "dock" the window at the current position relative to top-left corner of the browser window. If you scroll the page the window will remain at the same position. In the following demo the window has Pin behavior enabled: http://demos.telerik.com/aspnet-ajax/window/examples/behaviors/defaultcs.aspx
    2. RadDock also has Pin/Unpin command which makes the dock statically positioned relative to the top-left corner of the browser window. The dock must be in DockMode="Floating" (outside a zone) in order for the command to appear on its titlebar. The following example shows how to use the dock's Pin/Unpin command: http://demos.telerik.com/aspnet-ajax/dock/examples/commands/defaultcs.aspx.
      Another way to implement your scenario is to place a RadDockZone control in the documentPane, put the dock into the zone and disable the movement of the dock when you need the dock not to be moved from the zone.

    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