Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

window.open with two parameters

Posted on 2008-06-16
1
Medium Priority
?
280 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

721 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