i am trying to change the Upload service URL and target folder property of RADUpload control programatically in order to work locally as well as after deployment on server as below.
Uri ServiceURL = new Uri(Application.Current.Host.Source, "../RadUploadHandler.ashx");
this.fileUpload.UploadServiceUrl = ServiceURL.ToString();
Uri Upload = new Uri(Application.Current.Host.Source, "../UserUploads");
this.fileUpload.TargetFolder = Upload.ToString();
but don't know why it's not taking the new path after deployment to server ,it still continues to point my local m/c path only.
Anyone could please let me know how to achieve this?
Smooth Seas Does not Make Skillful Sailors