RadWindow within a content control

5 posts, 0 answers
  1. alvin shih
    alvin shih avatar
    13 posts
    Member since:
    Oct 2009

    Posted 23 Dec 2009 Link to this post

    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?
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 24 Dec 2009 Link to this post

    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.

    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.
  3. Bin
    Bin avatar
    9 posts
    Member since:
    Jun 2011

    Posted 24 Aug 2011 Link to this post

    Is there any update about this issue? RadWindow still couldn't be hosted within a content control?
  4. Boyan
    Boyan avatar
    758 posts

    Posted 26 Aug 2011 Link to this post

    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,
    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 >>

  5. Matt
    Matt avatar
    5 posts
    Member since:
    Dec 2017

    Posted 17 Apr 2018 in reply to Miroslav Nedyalkov Link to this post

    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
Back to Top