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

  • Thread starter Thread starter TheBurgerMan
  • Start date Start date
T

TheBurgerMan

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.
 
TheBurgerMan said:
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,
 
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.
 
Back
Top