473,399 Members | 2,159 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,399 software developers and data experts.

AxWebBrowser1 and code behind redirecting

Hi
I originally asked this in microsoft.public.dotnet.languages.vb
so sorry for the cross posting.

I'm using the AxWebBrowser1 control. I use the
event DocumentComplete to tell when a document has downloaded
which works fine, except when the asp.net web page does something
like this:

HttpContext.Current.Response.R*edirect(url, true);

I can't seem to find an event on the AxWebBrowser1 control that fires
in this case.

I tried placing a breakpoint in PreRender for the base web page
and a breakpoint in the Document.Load in the other program. The
sequence went
Base.PreRender
DocumentLoad fired
Base.PreRender
DocumentLoad fired
Base.PreRender (redirect occurs)
Base.PreRender
so the document load is never fired in this case.

Any ideas as to why, or if this post would be better responded to
in a different newsgroup. As its more about the Web Browser control
than about asp.net it seems better here.

Is it something to do with the fact that the web browser
didn't request the page? It was just sent? I have no idea how that
kind of thing works, e.g. when you click on a link and it opens
in some browser on the screen rather than in a new window.

Thanks
F

Nov 17 '05 #1
0 1101

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

Similar topics

2
by: dawn | last post by:
Hi, I'm trying to capture part of Form2 into a bitmap when I click on a button on the main form (form1). After advice I'm using the following code : System.IntPtr...
3
by: MrXs | last post by:
hi how do i save the contents of a axWebBrowser1 to a htm file ? i have a webpage loaded and would like to save it to my harddrive. also how do i open the file from my harddrive to open in...
1
by: igloogod | last post by:
Ok, I have grown up on coding old ASP. Now I am moving over to ASP.net and I need to understand... I have a page where I am doing a post from an HTML page, to an aspx page and doing the insert of...
10
by: Don Munroe | last post by:
This one has me stumped. I have three web applications running on two different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems...
0
by: Nevhyn | last post by:
Forgive my users' folly, I'm trying to print a number of web documents (.TIFs, .PDFs, text) from the client's browser without opening or viewing the documents first. I have an ASPx page with the...
3
by: MeNotHome | last post by:
I am trying to automate web browser navigation and form fill out in vb.net Why doesn't this work? AxWebBrowser1.Document.Forms(0).All("action-download").click() I also tried...
25
by: MeNotHome | last post by:
I am automating the navigation of a website. When I reach the end, it changes to xml. So my axwebbrowser1 has a bunch of xml data in it. So here is what I am trying to do Dim xmlText As...
7
by: foldface | last post by:
Hi I'm using the AxWebBrowser1 control. I use the event DocumentComplete to tell when a document has downloaded which works fine, except when thw web page does something like this: ...
3
by: Yourself | last post by:
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want to replicate a form like the following, but create the variables dynamically from code behind: <form...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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
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...

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.