This example demonstrates the showModalDialog method to open a modal window, using the dialogWidth, dialogHeight, dialogTop, and dialogLeft properties to specify the size and position of the window.
The below select box's onchange event triggers a script that creates a modal dialog showing the effect of setting the different properties.
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.