-
Server.Transfer / POST within frame or iframe issue
Ok, I have a asp.net project. Everything works great. HOWEVER, this project was made to be called from within a frame or iframe.
When being used within the iframe the user gets a blank frame when clicking certian buttons.
Here is the code for the iframe.
<iframe src="http://www.website.com/?cid=A195E1A9-A5D7-4046-89A4-1C00D4F81E35" id="frameName" frameborder="0" width="550" height="750"></iFrame>
Here are the steps taken to reproduce.
1. Open main page in browser. (main page includes an iframe that calls my application) Both pages load fine.
2. User clicks the "Register" button. The code behind this button has one line of code Server.Transfer("register.aspx");
3. the register.aspx page loads correctly within the iframe.
4. User fills in form and clicks submit.
5. The content of the iframe dissapears. If I view the source of the iframe it contains the same html as the parent page which is...
<iframe src="http://www.website.com/?cid=A195E1A9-A5D7-4046-89A4-1C00D4F81E35" id="frameName" frameborder="0" width="550" height="750"></iFrame>
NOW, if I make a page on my local machine and change the src attribute of the iframe tag to point to this same project but on my local machine it works fine. The production website works fine too as long as it is not contained within a frame or iframe.
This is only happening with Internet Explorer. I have IE 7.0. I tested in FireFox and I am not having the same issue, everything works great.
Any Ideas???
Similar Threads
-
By mdbollman in forum Web
Replies: 0
Last Post: 11-03-2005, 11:30 AM
-
Replies: 1
Last Post: 03-29-2005, 05:40 AM
-
By Thomas Eyde in forum .NET
Replies: 290
Last Post: 12-22-2001, 02:13 PM
-
By Micah Nasarow in forum Web
Replies: 1
Last Post: 08-24-2001, 07:31 PM
-
By Rodney Kendall in forum Web
Replies: 2
Last Post: 06-13-2001, 11:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks