473,465 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

need to do a WebRequest and have it appear in an IFRAME ...

Hi all. I need to attach NetworkCredentials to a WebRequest and display the
resulting web page in an IFRAME (aspx). I have validated that I can get the
page (using the NetworkCredentials), but how do I pump the data into an
IFRAME to display too the user?

I have tried accessing the web page directly from the IFRAME, but the
network credentials keep popping up and I cannot see how to set the
NetworkCredentials to the SRC of the IFRAME.

I can successfully set the credentials and get the data using C# and a
WebRequest, but cannot display the resulting page to the user!

Any help would be appreciated.

--
Thanks,
Th**********@gmail.com
--
Nov 17 '05 #1
2 2206
TheBurgerMan wrote:
Hi all. I need to attach NetworkCredentials to a WebRequest and
display the resulting web page in an IFRAME (aspx). I have validated
that I can get the page (using the NetworkCredentials), but how do I
pump the data into an IFRAME to display too the user?

I have tried accessing the web page directly from the IFRAME, but the
network credentials keep popping up and I cannot see how to set the
NetworkCredentials to the SRC of the IFRAME.

I can successfully set the credentials and get the data using C# and
a WebRequest, but cannot display the resulting page to the user!

Any help would be appreciated.


Why do you even use WebRequest for that? Why shouldn't the IFRAME pull
the data from the page itself?

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 17 '05 #2
The web page is actually Exchanges Calendar and the user has to be
authenticated or it will pop-up an authentication box (or form if you are
using Forms based authentication). The user is already signin onto a portal
site, so I want Single Sign On.

--
Thanks,
Th**********@gmail.com
--
"Joerg Jooss" <ne********@joergjooss.de> wrote in message
news:xn****************@msnews.microsoft.com...
TheBurgerMan wrote:
Hi all. I need to attach NetworkCredentials to a WebRequest and
display the resulting web page in an IFRAME (aspx). I have validated
that I can get the page (using the NetworkCredentials), but how do I
pump the data into an IFRAME to display too the user?

I have tried accessing the web page directly from the IFRAME, but the
network credentials keep popping up and I cannot see how to set the
NetworkCredentials to the SRC of the IFRAME.

I can successfully set the credentials and get the data using C# and
a WebRequest, but cannot display the resulting page to the user!

Any help would be appreciated.


Why do you even use WebRequest for that? Why shouldn't the IFRAME pull
the data from the page itself?

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de

Nov 17 '05 #3

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

Similar topics

16
by: Michael | last post by:
I know how to display random jokes or sayings. But only if I reload the page does the script select a new saying. How can I click on the saying and have it load a new one in its place.
6
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
3
by: Peter Jones | last post by:
Hi, I'm in the process of designing a web site for my wedding. This is my first attempt at web design of any sort. I have the basic design done and I am now at the point where I want to start...
1
by: Juan Dent | last post by:
Hi, The Request.SaveAs method stores in a file the complete HTTP request including the HttpVersion. However when I try to reproduce in memory the same thing, I cannot find the "HTTP/1.1"...
18
by: Chad A. Beckner | last post by:
I am (and have been trying!) to find a good way to do the following few things: 1. When a user requests a .aspx/.htm/.html file, the file needs to be automatically integrated into a page...
2
by: davidcbrown | last post by:
I started using .NET 2003 and my first application is to parse an HTML form. But I am behind an ISA firewall and get "(407) Proxy Authentication Required" with the following code. The proxy...
6
by: paul | last post by:
HI! How do we send a variable from an Iframe page back to its parent? I have a script that calculates the iframe's window size but I need to know how to send that value back to its parent so I...
2
by: bj | last post by:
Hi, Yes, this is yet another "switching from tables to divs for layout purposes" post. I have been searching for the past few hours to find what I'm looking for as I hate posting unnecessarily....
8
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hi all, given: HttpWebRequest WebReq = (HttpWebRequest)WebRequest.Create("myurl"); WebReq.Method = "GET"; HttpWebResponse WebResp = (HttpWebResponse)WebReq.GetResponse();...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.