Set Radwindow height and width at the time on opning

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 22 Aug 2013 Link to this post

    I want to display rad window on button click . My button inside radgrid, when i click on button rad window will open but problem is i was not able to set width and height for windows.


    Please help me urgent
  2. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 22 Aug 2013 Link to this post

    Hi,

    You can use the setSize method to set the height and width of RadWindow while opening

    Please try the below implementation
    function OpenRadWindow() {
                    var oWnd = $find("<%= DialogWindow.ClientID %>");
                    oWnd.show();
                    //Here set the width and height of RadWindow
                    oWnd.setSize(400, 100);
                    oWnd.setUrl("http://www.google.com");
                    oWnd.minimize();
                    oWnd.maximize();
                    oWnd.restore();
                }

    Check the below link for more details

    Apart from the this you can use

    ·         set_height
    ·         set_width

    methods to set the height and width of RadWindow



    Thanks,
    A2H
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top