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

RadWindow within a content control

4 Answers 162 Views
Window
This is a migrated thread and some comments may be shown as answers.
alvin shih
Top achievements
Rank 1
alvin shih asked on 23 Dec 2009, 10:03 AM
I want to have a Rad Window inside a container control.. meaning it can be moved around within the area of the content control.
I tried setting the RadWindow.Owner property to my content control but it is not working.
Any ideas?

4 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 24 Dec 2009, 08:09 AM
Hello Alvin,

 Unfortunately this feature is not supported by the RadWindow control out-of-the-box, but it supports another feature that will make it easier for you to implement this yourself - you could use the RestrictedAreaMargin and IsRestricted properties. The RestrictedAreaMargin property describes the margin from the edge of the screen within which the RadWindow control can be moved. To implement the feature you want to you will need to update this property when your content control is moved or resized or the browser is resized.

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Bin
Top achievements
Rank 1
answered on 24 Aug 2011, 09:52 PM
Is there any update about this issue? RadWindow still couldn't be hosted within a content control?
0
Boyan
Telerik team
answered on 26 Aug 2011, 12:44 PM
Hello Bin,

Yes, RadWindow can not be hosted within a content control. As Miroslav said in the previous post you can achieve similar behavior using the RestrictedAreaMargin and IsRestricted properties.

Don't hesitate to contact us if you have other questions.


Best wishes,
Boyan
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Matt
Top achievements
Rank 1
answered on 17 Apr 2018, 05:28 PM
This is not answering the initial question posted by Alvin.  RestrictedAreaMargin has nothing to do with using a content control for rendering content within a RadWindow
Tags
Window
Asked by
alvin shih
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Bin
Top achievements
Rank 1
Boyan
Telerik team
Matt
Top achievements
Rank 1
Share this question
or