RadControls version |
2009.1.402.35
|
.NET version |
3.5
|
Visual Studio version |
2008
|
programming language |
C#
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
This project encapsulates RadFileExplorer in a user control and extends in with:
a.) Copy instead of move when you drag a file
b.) Backup Files when you delete them
c.) Protect files (disable delete / rename)
d.) Provide server events for "Folder changed" - "File selected"
The user control (XFileExplorer) has additional parameter as shown here in the code:
Known issues:
With the trial version of rad controls you get sometimes an error message (see default.aspx).
This happens (I guess) because the trial version tries to display a message which does not work very well with ajax calls.
------
Sometimes a doubleclick on a folder in the grid (not in the tree) results in an "endless" ajax call.
Simply choose different folders in the tree (about 2 to 5) and this goes away.
REASON: when a file or folder is selected I make an ajax call. With a folder RadFileExplorer makes also such a call - and this (if it takes longer to load the directory collides)
Here is the call which makes the problem:
The last line in the function makes the problems sometimes.
How to use the sample:
Simply open it in visual studio and run it.
If you run it on a webserver (not the integrated webdev server) ensure that the folders
/XFiles and /XBackup (including subfolders) have write access for the web server process.
For closer information about this project take a look at:
http://manni-at.spaces.live.com/blog/cns!82CF2A6C0D0C6F3C!133.entry?&_c02_vws=1
The zip file also includes the three screenshot from the blog (part 4/5).
Have fun
Manfred