Solved

window.open with two parameters

Posted on 2008-06-16
1
277 Views
Last Modified: 2013-11-26
I have a command below it works well with one parameter. I want to add the second parameter department.This is asp.net 2.0 web form.  What should be the syntax with two parameters? Thanks

ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", "window.open('webform.aspx?branch=" + ddListBranch.SelectedValue + "','newWindow','height=600,width=900,left=100,top=100,status=1,toolbar=no,menubar=no,location=1');", True)
0
Comment
Question by:fycert55
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 21800235
Try this way:
ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", "window.open('webform.aspx?branch=" + ddListBranch.SelectedValue + "&new=" + newParameter + "','newWindow','height=600,width=900,left=100,top=100,status=1,toolbar=no,menubar=no,location=1');", True)

Open in new window

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question