![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Problems Using Frames I am having a problem. please allow me to explain. my application is essentially an empty shell which contains 2 frames. A menu gets loaded into the first frame, and the other frame displays different content, depending upon which menu item a user clicks. The layout is shown below. I like this architecture because it gives me good code separation. It means I can keep my menu logic in one file, and I can separate my content logic into different files: <Window> Main.xaml | | Frame 1 Frame 2 | | <Page> Menu.xaml <Page> Content.xaml In order for this model to work, I must be able to update the content of Frame 2 whenever a user clicks a menu item in Frame 1. I have make Main.xaml of type <Page> then this works fine. But if Main.xaml is of type <Window> then I receive the following error message: "Hyperlink target not found." Could anybody explain to me why this happens? Also ideally I do not want Main.xaml to be of type <Page> because I don't want a navigation bar to be displayed at the top of my application. Any ideas how I can get around this problem and still maintain the architecture above? thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Problems Using Frames You can specify ShowsNavigationUI as false on the Page, and get rid of the navigation bar. -- Ashish Shetty [MSFT] Program Manager, Windows Presentation Foundation (Avalon) Blog: http://nerddawg.blogspot.com --- "Fidget Brain" <no.spam@martinthrelly@yahoo.com> wrote in message news:uDii8BTfGHA.2416@TK2MSFTNGP03.phx.gbl... >I am having a problem. please allow me to explain. > > my application is essentially an empty shell which contains 2 frames. A > menu gets loaded into the first frame, and the other frame displays > different content, depending upon which menu item a user clicks. The > layout is shown below. I like this architecture because it gives me good > code separation. It means I can keep my menu logic in one file, and I can > separate my content logic into different files: > > <Window> Main.xaml > | | > Frame 1 Frame 2 > | | > <Page> Menu.xaml <Page> Content.xaml > > In order for this model to work, I must be able to update the content of > Frame 2 whenever a user clicks a menu item in Frame 1. I have make > Main.xaml of type <Page> then this works fine. But if Main.xaml is of type > <Window> then I receive the following error message: "Hyperlink target not > found." > > Could anybody explain to me why this happens? Also ideally I do not want > Main.xaml to be of type <Page> because I don't want a navigation bar to be > displayed at the top of my application. Any ideas how I can get around > this problem and still maintain the architecture above? > > thanks. > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How many Frames Per Second in WLM? | Live Messenger | |||
| Frames Per Second in WLM? | Live Messenger | |||
| FRAMES!!!! | Vista music pictures video | |||
| frames | Vista General | |||
| IE7 and Frames | Vista General | |||