start a popup window without postback?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Now I has the web button control "help" button which is starting a new window
in clinet side by clicking it. OnClick for the button will start a JavaScrip
which uses window.open() to open help.html page in a new window. It works OK
to open window, but the original window is refreshed when clicking the
button. The reason is the web button control has a postback action (since it
is submit type). My question is:

Can I do this (open help.html) without refreshing the original window?

Thank you for any help.

David
 
Does it have to be a server control ? If all it is going is opening a
window, might as well use html button <input type="button">
 
You have used the 'Web Forms' button, this will cause a post back, you need
to use the 'HTML' button. This will solve your problem.

Regards
 

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