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
Hello Ross,
Please take a look at the new simple sample and video file for more details and let me know if you still have any questions.
Here is the sample
I can't play a RAR video.
What about your beautiful example "Infragistics FileExplorer CS.zip" ?
What change would be needed to give it a preset C:\DOWNLOADS location?
rookertrusted said: I can't play a RAR video
I can't play a RAR video
Yes, It is expected. The file that I upload has .avi extention and compress it with WinRar to be able to upload it in the forum thread. You should Uncompress it (UnRar) the file first.
rookertrusted said: What about your beautiful example "Infragistics FileExplorer CS.zip" ?
I made a new simple sample for you only with your requirements using the code from my previous sample (Infragistics FileExplorer CS.zip)
rookertrusted said: What change would be needed to give it a preset C:\DOWNLOADS location?
Did you have a time to run my new sample. Take a look at the code for more details.
I downloaded: I made a new simple sample for you only with your requirements using the code from my previous sample (Infragistics FileExplorer CS.zip)
Where in the code did you make the change? Or did I download the wrong file?
I made the changes per your video and they are perfect. Thanks so much.
the sample code you sent is not the one that I needed. I need the sample code that was in the videos.
Sample
Video Part 3
Video Part 2