This is a migrated thread and some comments may be shown as answers.

Having problem with Second level Navigation

0 Answers 51 Views
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 25 Nov 2008, 04:02 AM
I have the main page that has three Hyperlinks. On the main page I have a RADFrameContainer that when any of the hyperlinks are clicked, it will load the appropriate page into the FrameContainer. This works good.

However, the First page (Company Info) that gets loaded into the Main FrameContainer, has it's own 3 Hyperlinks and it's own FrameContainer. Again, I do the same thing, depending on the hyperlink click, I call the appropriate RADpage to load into this sub FrameContainer.
Now, that I have a new FrameContainer into Company Info Page, when I try to select this Company info page from the Main page, I get the following error:

"Transition Target property have to be Panel object. Please set Transition Target to Panel !"

Here is part of the code:
    public partial class About : RadPage
        NavigationService navService;
        private FadeTransition fadeTransition;
        public About()
            // Required to initialize variables
            this.Loaded += new RoutedEventHandler(About_Loaded);
        void About_Loaded(object sender, RoutedEventArgs e)
            this.fadeTransition = new FadeTransition(this.CompanyFrame, new TimeSpan(0, 0, 0, 0, 400));
            navService = NavigationService.GetNavigationService(this);

The error points to this last line

I'm basically following the exact system as the main page.

[UPDATE] Never mind. My mistake.
I had forgotten to specify the FrameContainer name after "this".
navService = NavigationService.GetNavigationService(this.CompanyFrame);

No answers yet. Maybe you can help?

Asked by
Ben Hayat
Top achievements
Rank 2
Share this question