![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | displaying web page inside a WPF tab control I have a XAML browser application that contains a tab control in the main page. on click of each tab - I will like to navigate to a web page and display the page inside that tab. How do I do that? what XAML constructs do I need to use? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: displaying web page inside a WPF tab control Use a Frame element, where the source points to the HTML file. "BM" <BM@discussions.microsoft.com> wrote in message news:F2F7E66A-E380-45F3-AB5B-8C01008E8A90@microsoft.com... >I have a XAML browser application that contains a tab control in the main > page. on click of each tab - I will like to navigate to a web page and > display the page inside that tab. How do I do that? what XAML constructs > do I > need to use? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: displaying web page inside a WPF tab control Thanks. How do I capture events from the web page hosted inside my XBAP application? For example - when a hyeperlink is clicked on the HTML page - I will like to switch tab page on the main page of the XBAP. How can I do that? "Pablo Fernicola [MS]" wrote: > Use a Frame element, where the source points to the HTML file. > > "BM" <BM@discussions.microsoft.com> wrote in message > news:F2F7E66A-E380-45F3-AB5B-8C01008E8A90@microsoft.com... > >I have a XAML browser application that contains a tab control in the main > > page. on click of each tab - I will like to navigate to a web page and > > display the page inside that tab. How do I do that? what XAML constructs > > do I > > need to use? > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: displaying web page inside a WPF tab control BM wrote: > How do I capture events from the web page hosted inside my XBAP > application? For example - when a hyeperlink is clicked on the HTML > page - I will like to switch tab page on the main page of the XBAP. > How can I do that? Unfortunately there's no way to do this when using a Frame AFAIK. If you need this level of interactivity with the HTML content you'll need to host the MSHTML control more directly in your application. The simplest way is to just use the WinForms WebBrowser control. Once you have that inside your app, you can hook up to its Document's various top level events to monitor activity within the DOM. See the attached example created with EID for a quick look at how this might work out. HTH, Drew ___________________________________ Drew Marsh Chief Software Architect Mimeo.com, Inc. - http://www.mimeo.com Microsoft C# / WPF MVP Weblog - http://blog.hackedbrain.com/ |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Every Windows Explorer page is blank inside! Someone's had to have had this problem! | General Discussion | |||
| Quicktime control bar inside explorer | Vista General | |||
| Problem displaying .NET assembly on web page (Space in URL) | .NET General | |||
| keyboard peoperties inside control panel is gone | Vista General | |||