Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: AjaxFileUpload [27407]

$
0
0
After upgrade to april release, AjaxFileUpload doesnt' work anymore.
Browser reports a 404 error looking for "AjaxFileUploadHandler.axd?contextKey={...." loading page containing control, and a 500 error posting data to server.

Comments: To set a custom CDN for bundles, you can get the AJAX Control Toolkit bundle from __BundleTable__ and change the value of the __CdnPath__ property. This is commonly done in the __Application_Start()__ method in the __Global.asax__ file.   void Application_Start(object sender, EventArgs e) { . . . . BundleTable.Bundles.UseCdn = true; // To enable CDN var scripts = BundleTable.Bundles.GetBundleFor("~/Scripts/AjaxControlToolkit/Bundle"); scripts.CdnPath = "https://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Bundle.js"; var styles = BundleTable.Bundles.GetBundleFor("~/Content/AjaxControlToolkit/Styles/Bundle"); styles.CdnPath = "https://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Bundle.css"; }

Viewing all articles
Browse latest Browse all 4356