Link to home
Start Free TrialLog in
Avatar of conrad2010
conrad2010

asked on

JavaScript:window.open() instead of Response.Redirect ""

Attached code snippet should popup un a javascript window using same page name and querystring... please include all window.open() 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

ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial