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

How to set default path and start path for BrowaseEditor

2 Answers 199 Views
BrowseEditor
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 23 Jun 2015, 02:22 PM

Hi,

I am trying to set an initial path in a browse-for-folder editor. I have tried:

rbrIISNewWebsiteLocation.Text = Application.StartupPath;

and
(rbrIISNewWebsiteLocation.Dialog as FolderBrowserDialog).SelectedPath = Application.StartupPath;

 

but in both cases the text displays '(none)' and when I click the browse button is opens at the root of my computer?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Jun 2015, 11:31 AM
Hello Al,

Thank you for writing.

In order to set initial selected path in RadBrowseEditor, you should set the RadBrowseEditor.Value property:
this.radBrowseEditor1.Value= Application.StartupPath;

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 29 Jun 2015, 11:21 AM
Sorted, thanks Dess
Tags
BrowseEditor
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Al
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or