Hi gustyn,
Try this way
1. Open file UploadHandler.ashx
2. Find section below
public override void OnUploaderInit(MvcUploader uploader)
{
}
3. Change to
public override void OnUploaderInit(MvcUploader uploader)
{
//change photo to your folder name
uploader.TempDirectory ="~/photo";
}
4. Open file "Controllers/SamplesController.cs"
5. Add the same section as step3 in the the method below
using (CuteWebUI.MvcUploader uploader = new CuteWebUI.MvcUploader(System.Web.HttpContext.Current))
{
}
Like
using (CuteWebUI.MvcUploader uploader = new CuteWebUI.MvcUploader(System.Web.HttpContext.Current))
{
uploader.TempDirectory = "~/photo";
}
6. Build the project
Regards,
ken