This is a migrated thread and some comments may be shown as answers.

StoreFile overriding my override.

1 Answer 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 31 Oct 2014, 02:11 PM
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?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 04 Nov 2014, 04:57 PM
Hello Andrew,

I have already answered your other thread on the subject, which can be referred here.

On a side note I would like to kindly ask you to use only one support channel to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two threads instead of one. Thank you for your understanding.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or