TargetFrameName usage, is this a bug?
From: Sam D. (anonymous_at_discussions.microsoft.com)
Date: 05/26/04
- Next message: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Previous message: Igor Tandetnik: "Re: Automatic file Upload / display response in browser"
- Next in thread: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Reply: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 15:21:01 -0700
Hi! Here’s my architecture:
I have multiple MDI parent forms all of the same type (let’s say type A).
All MDI Parents host MDI Children (let’s say type B) with the embedded Webbrowser controls
On one of the MDI parent I have a child which is navigated to a page with 3 frames.
Upon clicking on a link on that page, I want the result to navigate to the main frame
which I call “mainWin”.
public void Browser_Navigate2(string theURL)
{
object o = null;
object url = theURL;
object target = "mainWin";
try
{
Cursor.Current = Cursors.WaitCursor;
this.webMain.Navigate2(ref url, ref o, ref target, ref o, ref o);
}
catch {}
finally
{
Cursor.Current = Cursors.Default;
}
}
Problem: when I call the aforementioned method, it does respond to navigating to the right frame. However, it happens on the first MDI Parent and not on the second or third or forth etc. Is it a bug ? What am I doing wrong?
Any help is greatly appreciated. Thank you in advance,
--Sam
- Next message: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Previous message: Igor Tandetnik: "Re: Automatic file Upload / display response in browser"
- Next in thread: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Reply: Igor Tandetnik: "Re: TargetFrameName usage, is this a bug?"
- Messages sorted by: [ date ] [ thread ]