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

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

13 Answers 411 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 25 Jun 2009, 01:51 PM
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:

<UserControl ...> 
 
  <Grid ...> 
 
    <TabControl ...> 
 
      <TabItem Header="Tab1" /> 
 
      <TabItem Header="Tab2" /> 
 
      <TabItem Header="Tab3" /> 
 
    </TabControl> 
 
  </Grid> 
 
</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?

13 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 25 Jun 2009, 02:58 PM
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.
0
Scott
Top achievements
Rank 1
answered on 14 Oct 2009, 01:26 AM
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
0
Valeri Hristov
Telerik team
answered on 16 Oct 2009, 11:54 AM
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.
0
boris
Top achievements
Rank 1
answered on 24 Dec 2009, 09:18 AM
Hello,
One more vote for this feature :)
Any news on this? Have you decided to include it in Q1 2010?
0
Nikolay
Telerik team
answered on 24 Dec 2009, 09:38 AM
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.
0
Ivan Kopcanski
Top achievements
Rank 1
answered on 30 Dec 2009, 10:39 AM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 30 Dec 2009, 11:47 AM
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.
0
Manuel Felício
Top achievements
Rank 1
answered on 22 Jun 2010, 12:27 PM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 25 Jun 2010, 08:47 AM
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
0
Manuel Felício
Top achievements
Rank 1
answered on 25 Jun 2010, 05:26 PM
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
0
Miroslav Nedyalkov
Telerik team
answered on 30 Jun 2010, 12:04 PM
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
0
XamlmaX2
Top achievements
Rank 1
answered on 16 Dec 2010, 11:01 AM
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
0
Damian
Top achievements
Rank 1
answered on 12 Dec 2014, 11:35 AM
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
Tags
Window
Asked by
Rob
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Scott
Top achievements
Rank 1
Valeri Hristov
Telerik team
boris
Top achievements
Rank 1
Nikolay
Telerik team
Ivan Kopcanski
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Manuel Felício
Top achievements
Rank 1
XamlmaX2
Top achievements
Rank 1
Damian
Top achievements
Rank 1
Share this question
or