Is it possible to make a RadWindow modal to some parent other than the root?

14 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 25 Jun 2009 Link to this post

    I am wondering if it is possible to make a RadWindow modal to something other than the main application...  For example, let's say my application was composed of a set of tabs like this:

    1 <UserControl ...> 
    2  
    3   <Grid ...> 
    4  
    5     <TabControl ...> 
    6  
    7       <TabItem Header="Tab1" /> 
    8  
    9       <TabItem Header="Tab2" /> 
    10  
    11       <TabItem Header="Tab3" /> 
    12  
    13     </TabControl> 
    14  
    15   </Grid> 
    16  
    17 </UserControl> 

    Would it be possible to open a RadWindow on "Tab2" for example, that would be modal on "Tab2" only, but still allow me to get to other tabs and any other nodes above the TabControl in the layout tree?
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 25 Jun 2009 Link to this post

    Hello Rob,

    We still haven't included this feature in our Roadmap. If there is a significant amount of requests concerning this feature we will include the feature and implement it as soon as possible. Please excuse us for the inconvenience, and we hope that the lack of this feature will not be a show stopper for you.

    Sincerely yours,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Scott
    Scott avatar
    42 posts
    Member since:
    Feb 2009

    Posted 13 Oct 2009 Link to this post

    Hi Rob & Hristo,

    For what it's worth, my current project would find this feature useful as well. We are trying to determine the best way to implement a dialogue that can be made modal to a View (in the Model-View-ViewModel sense) where the View is contained within a TabItem.

    So one more vote here!

    Cheers,
    Scott
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 16 Oct 2009 Link to this post

    Hi Scott,

    We will consider this feature for the next major release of RadControls - Q1 2010.

    Best wishes,
    Valeri Hristov
    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.
  6. boris
    boris avatar
    43 posts
    Member since:
    Sep 2009

    Posted 24 Dec 2009 Link to this post

    Hello,
    One more vote for this feature :)
    Any news on this? Have you decided to include it in Q1 2010?
  7. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 24 Dec 2009 Link to this post

    Hi boris,

    We will do our best to include it in the next major Q1 2010 release.

    Sincerely yours,
    Nick
    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.
  8. Ivan Kopcanski
    Ivan Kopcanski avatar
    47 posts
    Member since:
    Jul 2009

    Posted 30 Dec 2009 Link to this post

    This is the feature that we also realy need in our project, so it would be realy great if that is included in Q1 2010.
  9. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 30 Dec 2009 Link to this post

    Hello All,

     As it is not straight-forward what exactly the feature should do we decided to postpone the implementation and wait for the idea to become cleaner. While thinking about what we need to implement I implemented an attached behavior that accomplishes the task. Please, find the attached project that demonstarates how to implement it and how to use it.

    Hope this helps.

    Kind 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.
  10. Manuel Felício
    Manuel Felício avatar
    64 posts
    Member since:
    Oct 2009

    Posted 22 Jun 2010 Link to this post

    Hi, IsHitTestVisible doesn't really solve the issue since you can click on the area that is behind the window's parent.

    Imagine a Window and a childWindow scenario..

    Are there any plans for this? How do you recommend me to implement this feature? Currently I do something like parent.IsEnabled = false but it allows me to click on it and set focus. Maybe the RadWindow could have an Inactive property where inactive windows wouldn't receive focus..

    Any help is welcome.

    Best regards,

    Manuel Felício.
  11. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 25 Jun 2010 Link to this post

    Hi Manuel,

     I would like to ask you an additional question in order to make this feature request more clear and log it in our issue tracking system. Is what you need the behavior of the WPF/WinForms windows when they have Owner set? The case there is the Owner is blocked while the Child is open as modal.

    Is that what you need?

    Sincerely yours,
    Miroslav Nedyalkov
    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
  12. Manuel Felício
    Manuel Felício avatar
    64 posts
    Member since:
    Oct 2009

    Posted 25 Jun 2010 Link to this post

    Yes, thats what I expect. Modal RadWindow should disable its owner or the whole rootvisual if there is no owner.

    When you say "like WPF/WindowsForms windows" do you mean RadWindow? I never used RadControls with WPF or WindowsForms, and using WPF's builtin window I can't seem to get that behavior when I create a modal child window. It blocks the whole app.

    Edit: When I say "RadWindow should.." I don't mean that it should *only* work like that..I'm sure that would cause compatibility issues with already working apps. What I mean is to have a property like "DisableOwnerIfModal" or something like that that would trigger this behavior.

    Best regards,

    Manuel Felício
  13. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 30 Jun 2010 Link to this post

    Hi Manuel,

     What I meant was WPF and Windows Forms windows that come from the .NET Framework, not the Telerik ones.

    I logged your request in PITS, but for now it disables the whole application by placing an rectangle over it. Here is the issue ID: 2583.

    All the best,
    Miroslav Nedyalkov
    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
  14. XamlmaX2
    XamlmaX2 avatar
    31 posts
    Member since:
    Jul 2012

    Posted 16 Dec 2010 Link to this post

    We would also like to make a RadWindow modal to a tab (or other container). Will this make feature make it into any future releases?
    Thanks
  15. Damian
    Damian avatar
    1 posts
    Member since:
    Apr 2013

    Posted 12 Dec 2014 Link to this post

    I also have similiar requirement like XamlmaX2. We need to add a RadWindow to be modal with a TabItem as an Owner.
    However even though setting the Owner property the RadWindow is not limited within the Owner boundaries and block whole application behind. 
    Is there is any solution for this kind of RadWindow implementation?

    Besr regards
Back to Top
DevCraft banner