RadWindow Position to center

5 posts, 0 answers
  1. Bermo
    Bermo avatar
    15 posts
    Member since:
    Mar 2009

    Posted 24 Nov 2010 Link to this post

    Hi,

    Can you help me please.

    I want my radwindow to open and positioned where the object opener is located in the screen.
    I'm using it for my scheduler delete button.


    Thanks,
    Bermo
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 25 Nov 2010 Link to this post

    Hello,

    Inorder to positioning the window,you can use either center() or MoveTo() .Try the sample code given below.

    ClientCode:
    function openwnd()
     {
       var wndw = radopen("http://www.google.com", "RadWindow1");
       wndw.moveTo(1, 1);
       return false;
      }


    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christopher Lee
    Christopher Lee avatar
    22 posts
    Member since:
    Mar 2006

    Posted 25 Nov 2013 Link to this post

    Thanks Princy!  This code worked for me to and got the window centered.  For some reason, my 

    oWnd.Center()

    Was not working.
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 21 Dec 2013 Link to this post

    Hi Christopher Lee,

    Some Client side API of RadWindowManager has changed, so please try with oWnd.center(). Please have a look into this help documentation and this changes and backward compatibility documentation.

    Thanks,
    Princy.
  6. Christopher Lee
    Christopher Lee avatar
    22 posts
    Member since:
    Mar 2006

    Posted 22 Dec 2013 Link to this post

    Awesome!  That's very helpful... thanks again!!!

    Best,

    Chris
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017