Topmost for radwindow

8 posts, 0 answers
  1. Jamal Husien
    Jamal Husien avatar
    43 posts
    Member since:
    Feb 2010

    Posted 01 Apr 2010 Link to this post

    dear all,
    for window i have topmost function.
     
    how can i use this functionon radwindow ( t.BringToFront() never work for me);
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 Apr 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jamal Husien
    Jamal Husien avatar
    43 posts
    Member since:
    Feb 2010

    Posted 02 Apr 2010 Link to this post

    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

  5. Jamal Husien
    Jamal Husien avatar
    43 posts
    Member since:
    Feb 2010

    Posted 06 Apr 2010 Link to this post

    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

     


  6. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 07 Apr 2010 Link to this post

    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.
  7. Jamal Husien
    Jamal Husien avatar
    43 posts
    Member since:
    Feb 2010

    Posted 07 Apr 2010 Link to this post

    thanks


  8. Pat
    Pat avatar
    4 posts
    Member since:
    Sep 2011

    Posted 22 Feb 2013 Link to this post

    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...
  9. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 25 Feb 2013 Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready