How to set default path and start path for BrowaseEditor

3 posts, 1 answers
  1. Al
    Al avatar
    216 posts
    Member since:
    Oct 2006

    Posted 23 Jun 2015 Link to this post


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

    rbrIISNewWebsiteLocation.Text = Application.StartupPath;

    (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. Answer
    Dess avatar
    2183 posts

    Posted 24 Jun 2015 Link to this post

    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.
    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
  3. Al
    Al avatar
    216 posts
    Member since:
    Oct 2006

    Posted 29 Jun 2015 in reply to Dess Link to this post

    Sorted, thanks Dess
Back to Top