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

Topmost for radwindow

7 Answers 767 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jamal Husien
Top achievements
Rank 1
Jamal Husien asked on 01 Apr 2010, 02:41 PM
dear all,
for window i have topmost function.
 
how can i use this functionon radwindow ( t.BringToFront() never work for me);

7 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 01 Apr 2010, 04:12 PM
Hello Jaml,

 The RadWindow control doesn't support TopMost functionality. What I could suggest you is to use the BringToFront method. It should work fine. Could you please send us a sample project that demonstrates the issue? This would helps us investigate what the problem is and assist you fixing the problem.

Greetings,
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
Jamal Husien
Top achievements
Rank 1
answered on 03 Apr 2010, 01:06 AM
hi
thank you
brig to front is not working.
 i build smal WPF alication
include main page that have two buttons ( the main mage will have multi sub rad windows)
when click the first button i oen new rad window

        RadWindow t = new RadWindow();
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            t.Width = 300;
            t.Height = 300;
            t.Show();
            // t.Owner = this;
            //t.IsRestricted = true;
            //t.RestrictedAreaMargin = {what to put here}_;
        }

on the main window i click the first button,
 when i activate the main page the rad window go behind the main window, when i click button2 the rad window still  not on the top.

        private void button2_Click(object sender, RoutedEventArgs e)
        { t.BringToFront(); //not working
}


i buy the telerik to save time, with the normal window i can do it easy, i last 3 days only try to solve that.
my main purpose is to build aplication that iclude main page and sb window inside ( not dock);
please give me example how to solve these point

0
Jamal Husien
Top achievements
Rank 1
answered on 06 Apr 2010, 12:52 PM
daer all
i have a problem, and i need help on it.
when i open new radwindow on the C# code.

onclick(...)
{
RadWindow temp=new Radwindow();
temp.Width = 300; temp.Height = 300;
temp.Show()

}
the radwindow open on the aplication put when i press any where on the parent window that make the click event the rad window desapear. it will go behind the main window.
i want to let the radwindow stay on the top( i can see it).

thanks

 


0
Miroslav Nedyalkov
Telerik team
answered on 07 Apr 2010, 08:28 AM
Hello Jamal,

 First of all the RadWindow control is not meant to be used this way - it is meant to be used as a popup window, not as a part of an MDI application.

The reason why your RadWindows go behind the main window is that you didn't set their Owner property to be the main window. This way they are separated windows, not child windows of the main one. Please find the attached sample project that demonstrates how to solve most of the problems you described.

Kind regards,
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
Jamal Husien
Top achievements
Rank 1
answered on 07 Apr 2010, 08:33 AM
thanks


0
Pat
Top achievements
Rank 1
answered on 22 Feb 2013, 06:47 PM
I am trying to open a pre-defined popup on top of a window opened with ShowDialog().

var parameters = new DialogParameters { Content = "Okey dokey?", Owner = _window };
RadWindow.Confirm(parameters, (s_, a_) => { });

Unfortunately it gets opened behind the owner window.
This is on SL5 with RadControls_for_Silverlight5_2012_3_1129_Dev_hotfix

Any ideas? Thanks...
0
Miroslav Nedyalkov
Telerik team
answered on 25 Feb 2013, 03:53 PM
Hello,

Calling the Confirm method with two parameters picks an overload which uses its first parameter as a content instead of DialogParameters. Using the overload with one parameter should resolve the problem.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Window
Asked by
Jamal Husien
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Jamal Husien
Top achievements
Rank 1
Pat
Top achievements
Rank 1
Share this question
or