473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Querystring Issue - ASP.NET within ASP site's IFRAME

Hi. I've built an asp.net website, which is displayed within an IFRAME of a
classic asp site. The asp.net site consists simply of one page having a
paginated gridview control.

When my asp.net site is opened in the iframe, a querystring named "sid" is
populated, so it looks something like this "Default.aspx?sid=544". The
asp.net site uses the specified "sid" in populating the gridview with data.

My page & gridview display correctly when the page first loads. But as soon
as the user pages through the datagrid (ie - goes from page1 to page2), the
querystring seems to be lost because my gridview no longer sees that
Request.Querystring("did") exists.

When I run my asp.net site by itself, it works fine. But when my asp.net
site runs within the classic asp's site IFRAME this problem happens.

What is causing this problem and how can I fix it?

Please let me know if I can provide any further info.

As always, Thanks,
Mike

Jul 12 '07 #1
2 2111
On Jul 12, 10:38 pm, Mike <M...@discussions.microsoft.comwrote:
When my asp.net site is opened in the iframe, a querystring named "sid"
.....
Request.Querystring("did") exists.
.....

a typo? or probably something to do with caching i guess?

Jul 12 '07 #2
Yes a typo :)

Should be Request.Querystring("sid")

"Alexey Smirnov" wrote:
On Jul 12, 10:38 pm, Mike <M...@discussions.microsoft.comwrote:
When my asp.net site is opened in the iframe, a querystring named "sid"
.....
Request.Querystring("did") exists.
.....

a typo? or probably something to do with caching i guess?

Jul 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Robb Meade | last post by:
Hi all, A recent project that I had finished and went live with no apparant problems. My client received an email from a user who mentioned that by accident they had been typing (over the...
1
by: Jason | last post by:
so i'm loading an external web page (i.e. google.com, espn.com) into an IFRAME on top of a web application we have running in IE running on a kiosk. the kiosk is only a touch screen and has no...
1
by: threepins | last post by:
Hi, I was wondering if it is possible to access an <img> tag that is buried within some external content in my site that is contained within an iFrame on a page within my site... confusing i...
1
by: Rhys | last post by:
I have a page which has an IFrame on it. The src of the IFrame is a page with a datagrid on it. The Datagrid has bound template columns. The columns of the datagrid pass the bound data value of...
5
by: VB Programmer | last post by:
I have an ASPX page that is used for content. I have a master page which sticks the page in an IFrame. Question: From the content/ASPX page, I can't seem to reference request.querystring. Any...
0
by: Brent.Lakatos | last post by:
ASP.NET 2.0 Question: I have a simple IFrame User Control that I wrote: HTML: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="IFrameControl.ascx.cs" Inherits="IFrameControl" %> ...
0
by: Ben Fidge | last post by:
Hi I've got a situation where I need to direct a Response.Redirect to a new window from within a page embedded within an IFrame. Currently, we have a page embedded within an IFrame that...
2
by: Ixnay | last post by:
Thanks in advance for any help you can give me on this. I am trying to include the value from a request.querystring in the DataNavigateUrlFormatString I am able to include one of the values...
1
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I've built an ASP.NET web application which exists as it's own URL. Another site which was created in classic ASP, and exists as it's own URL, has an IFRAME containing my site. I'm...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.