New Page

  • Thread starter Thread starter Claudio
  • Start date Start date
C

Claudio

I have a button on a web page. On the click event I want ot call another
page, but I would like this page be opened in a new window. I do want to
know if there is a way to call this page using C# command (using the code
behind of the click event to call it).
 
I'm not privy to the full requirements you're working under but it seems
to me that there's no reason to do a server-side call for this.

Wire up a javascript onClick() event to the button and use the following
code:

function openWindow()
{
var nWin = window.open(target,
"Document Handle","width=900, height=450, toolbar=1,
menubar=1, status=0, resizable=1");
}

Just a thought....

--Jason
 

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