473,799 Members | 3,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Hi all. I need to attach NetworkCredenti als to a WebRequest and display the
resulting web page in an IFRAME (aspx). I have validated that I can get the
page (using the NetworkCredenti als), 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
NetworkCredenti als 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**********@gm ail.com
--
Nov 17 '05 #1
2 2222
TheBurgerMan wrote:
Hi all. I need to attach NetworkCredenti als to a WebRequest and
display the resulting web page in an IFRAME (aspx). I have validated
that I can get the page (using the NetworkCredenti als), 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
NetworkCredenti als 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.d e
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**********@gm ail.com
--
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:xn******** ********@msnews .microsoft.com. ..
TheBurgerMan wrote:
Hi all. I need to attach NetworkCredenti als to a WebRequest and
display the resulting web page in an IFRAME (aspx). I have validated
that I can get the page (using the NetworkCredenti als), 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
NetworkCredenti als 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.d e

Nov 17 '05 #3

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

Similar topics

16
2237
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
6329
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, column 13: there is no attribute "SRC" <bgsound src="C:\My Documents\zingwent.mids"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is...
3
1123
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 adding some content. I am having a problem with one page, the URL is: http://www.peterj1974.plus.com/weddingdetails.htm The left hand side will be link and I want the content to be displayed in the main area. So for example, when someone clicks...
1
2493
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" anywhere. I looked around and found a class called HttpWorkerRequest which has a method called GetHttpVersion() which returns the exact thing I am missing. However, I can't see how to get at the HttpWorkerRequest from a Page or from the HttpApplication.
18
1451
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 template. In ASP.NET, how can I do this? 2. I know I can put custom controls, map .htm/.html files to utilize custom controls, etc, but I don't want to go through and update 2000 pages (and growing) to .aspx files and then add the controls.
2
6472
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 settings in webReq.Proxy appear to be OK, even without setting them as below. IE works, but this does not. Any ideas? (or where to ask?) -- David Dim webReq As WebRequest = WebRequest.Create(txtUrl.Text) webReq.Proxy = WebProxy.GetDefaultProxy Dim...
6
9395
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 can use it there. Thanks in advance :) Paul
2
7466
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. I am a pretty crap searcher but I'm kinda sure this hasn't been written about yet. Please feel free to prove me wrong and link to a solution. Otherwise I'd appreciate any advice you may have. I have a situation where I have a window that has...
8
1917
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(); Response.Write(WebResp.StatusCode); Response.Write(WebResp.Server);
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.