I'm trying to override a RadEditor DocumentManager upload control and it's mysteriously appending root path to my path...
public override string StoreFile(Telerik.Web.UI.UploadedFile file, string path, string name, params string[] arguments)
{
string uploadPath = this.GetPhysicalFromVirtualPath(path);
return base.StoreFile(file, uploadPath, name, arguments);
}
GetPhysicalFromVirtualPath() builds the UNC \\\\servername\\store\\{product}\\docs\\ path properly. But the override then bombs because path wasn't found for this directory c:\projects\DocManagerProject\servername\store\{product}\docs\.
Why is the StoreFile function overriding my override?
public override string StoreFile(Telerik.Web.UI.UploadedFile file, string path, string name, params string[] arguments)
{
string uploadPath = this.GetPhysicalFromVirtualPath(path);
return base.StoreFile(file, uploadPath, name, arguments);
}
GetPhysicalFromVirtualPath() builds the UNC \\\\servername\\store\\{product}\\docs\\ path properly. But the override then bombs because path wasn't found for this directory c:\projects\DocManagerProject\servername\store\{product}\docs\.
Why is the StoreFile function overriding my override?