Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Set the WebDialogwindow Width and Height
posted

I cant able to find the proberty for client side to set the Widh and Height of webdialogewindow.

any property to change the height and width in client side for Web Dialog window

Parents
No Data
Reply
  • 24497
    Suggested Answer
    posted

    Hi Ravikumar,

    There are 2 properties width/height and a setSize method on client. The set_width/height are internally are implemented as wrappers for setSize, so, setSize is preferrable.
    Below examples of them:

    var dialog = $find('<%=WebDialogWindow1.ClientID%>');
    dialog.set_width('300px');
    dialog.set_height('200px');
    dialog.setSize('300px', '200px');

Children
No Data