I am trying to display my form in a fixed browser window so the user cannot change it's size, cannot minimize/maximize the window. The aspx form is for user input, and I want each user to see the same thing. (it's an internal form and everyone has the same browser). Where do I make these changes, or what code do I need? I figured it would be in the properties menu for the form, but the page margins do not make the changes I need. Any ideas on what to do?
Thanks.You can set thewindow properties from the client (i.e. note, no "runat" attribute in the script tag), only after the first page is loaded:
<SCRIPT for="window" event="onload">
window.dialogHeight = 100;
window.dialogLeft = 100;
window.dialogTop = 100;
window.dialogWidth = 100;
</SCRIPT>
0 comments:
Post a Comment