Open htm page on button click

  • Thread starter Thread starter Mark Fitzpatrick
  • Start date Start date
M

Mark Fitzpatrick

Response.Redirect("pagename.htm")

If you want it to open in a new browser window, you're better off using
JavaScript on the client-side to open the browser as a response.redirect
can't open a new browser window.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Hi,

If I have a button control on a webform and double click to show the click
event code, what code would go inside to open or redirect to an htm page?

example

Private sub mybutt_click( .....
Open or redirect to an htm page here...
End sub

Thanks
 
Back
Top