When you use the popup's ContentUrl property, it creates an IFrame object to show a required page. But, I want to open login page in a modal window like below: Please anyone suggest how can I achieve this. - on clicking close button on login popup show the previous popup back. To start with here is the script that will open a PopUp Window. i have isssue scrolling in popup modal . Show the detail page in a modal. First of all, an ASP.NET Button web control is required to demonstrate how the ModalPopup control works. Amol S. Pandit. Bootstrap modal window: Close current and open a new modal:- This is very basic requirement to open second modal window by clicking on link on first modal window. function edititem ( myURL , title , myWidth , myHeight ) { var left = ( screen . Add the class modal-link to open the href of that link into a modal window. 2. click a button inside that popup. To open a Bootstrap modal on button click without using jQuery, you need to add two attributes to the