I can only guess what might be causing the experienced issue, without seeing your implementation of the FileBrowserContentProvider. What I would suggest you is to debug the content provider and see which is the exact part of the code where the error is thrown.
Basically, this is what happens when you try to create a folder (I am giving you the logic from the provided by us DB content provider) - after the content provider's CreateDirectory is called, it checks what the value of the data server's CreateDirectory is:
, location, name)))
"Directory with the same name already exists!"
error = dataServer.CreateDirectory(name, location);
!String.IsNullOrEmpty(error) ? String.Format(
, location, name) : String.Empty;
If the result of the data server's create directory is an empty string, that means the directory has been created successfully, otherwise a popup with the path to the folder appears. This is why I assume that the file is successfully added to the database (since it is visible after a Refresh), but for some reason the content provider does not know that.
If the above insights are not helpful in solving the case, could you, please, prepare a sample fully runnable project
including all the needed dependencies (content provider, Data base, etc.) so we could examine it on our side?
Looking forward to hearing from you,
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed