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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top