Re: Passing data to aspx page from htm page via iframe
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 13 Sep 2007 02:38:09 GMT
Thanks for your followup Moondaddy,
No problem. If you have any further questions later, welcome to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "moondaddy" <moondaddy@xxxxxxxxxxxxxxxx><1189585445.466207.249700@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <eUkIdrQ9HHA.5840@xxxxxxxxxxxxxxxxxxxx>
<456agbS9HHA.5604@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Passing data to aspx page from htm page via iframe
Date: Wed, 12 Sep 2007 09:36:18 -0500
http://www.jmaguire.com/downloads/source_code/javascript/client_side_include
Thanks Steven.
These are some good links and I'll take some time to study them.
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:456agbS9HHA.5604@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for Alexey's input.
Hi Moondaddy,
Yes, using inner html frame is one means, you can simply reset the
Iframe's
url(through "window.location =...... " script statement). Here are some
articles mentioned about the iframe location/url or refresh it through
script:
http://www.quirksmode.org/js/iframe.html
http://www.velocityreviews.com/forums/t84424-iframe-url-changing.html
http://www.thescripts.com/forum/thread468654.html
Or as Alexey mentioned, you can also use AJAX approach(use XMLhttp
component) to send GET request to another page programmatically:
#Client Side Include DEMO - Using JavaScript / XMLHTTP
I/
http://www.jibbering.com/2002/4/httprequest.html
In addition, for passing values/parameters, I sugguest you use
querystring.
Thus, you can simply append them in url string.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: Alexey Smirnov <alexey.smirnov@xxxxxxxxx>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Re: Passing data to aspx page from htm page via iframe
Date: Wed, 12 Sep 2007 01:24:05 -0700
means
On Sep 12, 9:04 am, "moondaddy" <moonda...@xxxxxxxxxxxxxxxx> wrote:
I have a htm page where I need to pass some data to an aspx page as a
of sending data to the database. I don't need to see the aspx page so
don'twas
going to put it in a hidden iframe. This works real good. Since I
parameter toneed the aspx page to do any postback, is there a way to pass a
it with out it finishing the round trip back to the htm page?
What about AJAX?
.
- References:
- Passing data to aspx page from htm page via iframe
- From: moondaddy
- Re: Passing data to aspx page from htm page via iframe
- From: Alexey Smirnov
- Re: Passing data to aspx page from htm page via iframe
- From: Steven Cheng[MSFT]
- Re: Passing data to aspx page from htm page via iframe
- From: moondaddy
- Passing data to aspx page from htm page via iframe
- Prev by Date: Re: Visual Studio vs Visual Web Developer
- Next by Date: Re: How to fill background of page with gradient
- Previous by thread: Re: Passing data to aspx page from htm page via iframe
- Next by thread: Problem : Client request is processed simultaneously by two threads !
- Index(es):
Relevant Pages
|