Solved

window.open with two parameters

Posted on 2008-06-16
1
276 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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…

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