I’m developing a page in asp.net, and I have this script that opens a modal window. It works perfectly, but the resizable property seems to not be working as I can resize the window once it is opened.
Dim script as String = "window.showModalDialog('" + page + "','','unadorned:yes; dialogWidth:330px; dialogHeight:210px; center:yes ; resizable:no; scrollbars:no; toolbar:no; copyhistory:no; menubar:no; status:no ; addressbar:no');"
ScriptManager.RegisterStartupScript(Me, GetType(Page), "alertaerror", script, True)
I need help with that property, is there something I’m doing wrong ?
Some browsers simply doesn’t let you open a window that is not possible to resize, so the
resizablesetting has no effect in those browsers.