This is a migrated thread and some comments may be shown as answers.

RadDock and RadWindow

1 Answer 120 Views
Dock
This is a migrated thread and some comments may be shown as answers.
PPSDevs
Top achievements
Rank 1
PPSDevs asked on 01 Mar 2010, 10:22 PM
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.

Thanks,
MSS

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 02 Mar 2010, 03:02 PM
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.


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.
Tags
Dock
Asked by
PPSDevs
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or