I want to be able to open a new browser window and load an aspx page when the user clicks on a button, can this be done in asp.net if so how, or is javascript required to do this
Printable View
I want to be able to open a new browser window and load an aspx page when the user clicks on a button, can this be done in asp.net if so how, or is javascript required to do this
You can do this using javascript
in the page_load of the parent aspx add the following line
In the fnStartNewWin routine you can then add the following lineCode:btnSubmit.Attributes.Add("onClick", "fnStartNewWin()");
Code:window.open(path to the new aspx)