Solved instead of Response.Redirect ""

Posted on 2008-10-09
Last Modified: 2012-06-21
Attached code snippet should popup un a javascript window using same page name and querystring... please include all parameters so I can modify (width,height,toolbar,etc...)
file: somepage.aspx.cs
protected void rHotels_ItemCommand(object source, RepeaterCommandEventArgs e)
        if (e.CommandArgument != null)
            Response.Redirect("HotelDetail.aspx?HotelID=" + e.CommandArgument");

Open in new window

Question by:conrad2010
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 26

Accepted Solution

Anurag Thakur earned 500 total points
ID: 22685093
you shoule have included programming zone for this question and might have got the solution till now

try this out it should work out for you
Response.Write("<SCRIPT language=javascript>var'HotelDetail.aspx?HotelID='" + e.CommandArgument + ",'OrderStatus','height=800,width=800');</SCRIPT>");

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

Suggested Solutions

Title # Comments Views Activity
Jquery form 9 40
Hide and Unhide Table 6 25
Aspx calendar pop up control 3 27
Read text on Table 7 27
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

756 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