Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redirect in another frame
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00698522
Message ID:
00698542
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
The control you have at the backend is procedural code. You can not
control the browser. If you want the response to go to another
frame you have to handle the framing from the client side. What you could do is on the client side run java script or vbscript. Here is a link to two different articles that give explanations about how to redirect with java script and vbscript.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q156315&
http://www.aspfaq.com/show.asp?id=2052


>I have an ImageButton. And when I click on it, I want to open a new page in
>another frame. With this code, I have now, It's open in same frame. Please
>help
>
>
>private void ImageButton1_Click(object sender,
>System.Web.UI.ImageClickEventArgs e)
>{
>    Response.Redirect("UserAccount.aspx", true);
>}
>
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform