this.ultraNavigationBar1.RootLocation.Text = @"C:\CMT\";
or:
this.ultraNavigationBar1.RootLocation.Text = @"C:\CMT";
gives me this error:
An UltraNavigationBarLocation cannot contain the PathSeparator in any part of the text which is used to identify it when parsing a navigation path.
How do I specify a starting folder?
I solved my question above with:
ultraNavigationBar1.NavigateTo("C:\\CMT", true);
My question now is how do I prevent the user from going to the parent of the root I navigate to. IE... I want to just let them navigate within a certain root folder or it's sub folders.
Hello rookertrusted,
Please note that it is not possible to use PathSeparator in the DisplayText or Text properties. If you want to achieve desired behavior, you should use InitializeLocations event, Locations Collection. More details you could find in our online documentation:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/WinNavigationBar.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/Win_WinNavigationBar_Using_WinNavigationBar.html
Also please take a look at the attached sample where I`m using UltraNavigationBar.
Let me know if you have any further questions.
Regards
Video Part 2
Video Part 3
Sample
the sample code you sent is not the one that I needed. I need the sample code that was in the videos.
I made the changes per your video and they are perfect. Thanks so much.