Click here to Skip to main content
15,906,624 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am currently using Modern UI from CodePlex. It is great and easy to use but there are some classes and events that I am not familiar with. Example: I have two GroupLinks named "Patients" and "Configurations". There are several pages in each of the GroupLinks. I tried to navigate from one page to another using a button click event. It worked. But when I tried navigating from Page1 of GroupLink2 to Page1 of GroupLink1, it still worked, but the problem was the active GroupLink remained in GroupLink2 instead of GroupLink1 just like the screenshots show below:

http://i.stack.imgur.com/wOVlM.png[^]

http://i.stack.imgur.com/ORi9f.png[^]


Btw, I used the code behind to navigate from Allergies(IrritantPage) to PatientsPage:

C#
private void FilterControl_OnToPatientClick(object sender, RoutedEventArgs e)
    {            
        NavigationCommands.GoToPage.Execute("/MainContents/PatientGridPage.xaml", this);
    }



So how do I solve this?

Also, whenever I compile the project, the default active GroupLink is always GroupLink2, how do I set the active GroupLink into GroupLink1 whenever I first ran the project?
Posted
Comments
LLLLGGGG 1-Feb-15 13:00pm    
You can try to ask the forum on CodePlex... they may be more expert on the package they have built.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900