I'm new in telerik world and I'm trying to use Telerik Upload in my MVC3 website (razor mode). My problem is that I'd like to place telerik scripts in another folder than default one (e.g. "Scripts").
Here is the code of my view :
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
@Html.Telerik().Upload().Name("attachments") .Multiple(false) .Async(async => async .Save("Save", "Upload").Remove("Remove", "Upload").AutoUpload(true))
Maximum allowed file size: 10 MB
I added js reference in my _layout.cshtml :
As you can see telerik scripts are placed in "/Assets/js/libs/telerik/" folder. jquery script is placed in "/Assets/js/libs/" folder.
In this configuration when I try to upload something, I receive the following error :
FileNotFoundException : Specified file does not exist: "~/Scripts/jquery-1.7.1.js".
I suppose I have to complete the ScriptRegistrar method in order to do not use the default folder but I didn't find how to do it in the documentation. Maybe I missed something.
Your help would be greatly appreciated.
EDIT : sorry I just saw that there was a specific forum for upload purpose :s