Menu

#31 FileBrowserModel - Access denied exception

open
nobody
None
5
2010-05-24
2010-05-24
No

Steps to reproduce:
1) Open TreeViewAdv sample application.
2) Navigate to ”FolderBrowser” tab.
3) Navigate to C:\Users\current_user folder
Expected result: folder content is shown in the tree
Actual result: Access denied exception
Source: FolderBrowserModel.cs; exeption not handled for Directory.GetDirectories(parent.ItemPath)

Discussion

  • Irina Ungureanu

    Irina Ungureanu - 2010-05-24
     
  • Laurent Nicot

    Laurent Nicot - 2010-06-29

    This is not a bug in the TreeViewAdv control.

    Change the implementation of the FolderBrowserModel (in the sample app) to catch the exception. (This is only a sample application to show simple uses of the control).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.