Hi,
I have a simple scenario On my page load event I set MaxFileSize Property like this
The Above code gets free Space of my C Drive and assign it to MaxFileSize property.
Now in my application user can upload files in my C Drive, after a user upload a file and when press the Upload button, the above code gives me updated Free space but MaxFileSize property show old value
Kindly Help,
Thanks
I have a simple scenario On my page load event I set MaxFileSize Property like this
1.
protected
void
Page_Load(
object
sender, EventArgs e)
2.
{
3.
DriveInfo d =
new
DriveInfo(HttpContext.Current.Request.PhysicalApplicationPath);
// get partition size
4.
RadFileExplorer1.Upload.MaxFileSize = d.AvailableFreeSpace ;
5.
}
The Above code gets free Space of my C Drive and assign it to MaxFileSize property.
Now in my application user can upload files in my C Drive, after a user upload a file and when press the Upload button, the above code gives me updated Free space but MaxFileSize property show old value
Kindly Help,
Thanks