Skip to content

Commit

Permalink
replace backward slash with forward slash in virtual path
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailTymchukDX committed Mar 30, 2016
1 parent 27b3304 commit 2a94157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AjaxControlToolkit.Jasmine/Global.asax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ protected void Application_Start(object sender, EventArgs e) {
RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);

AjaxFileUploadHelper.RootTempFolderPath = HttpContext.Current.Server.MapPath(@"~\Temp");
AjaxFileUploadHelper.RootTempFolderPath = HttpContext.Current.Server.MapPath("~/Temp");
AjaxControlToolkit.ToolkitResourceManager.RegisterControl(typeof(Suites.ToolkitResourceManager.TestExtender));
}

Expand Down
4 changes: 2 additions & 2 deletions AjaxControlToolkit.SampleSite/Global.asax
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
// create "Temp" folder beforehand to avoid site recompilation: http://stackoverflow.com/questions/2699460/
AjaxFileUploadHelper.RootTempFolderPath = HttpContext.Current.Server.MapPath(@"~\Temp");
// In Medium Trust environments, set AjaxFileUploadHelper.RootTempFolderPath to an existing directory located within the web application root.
AjaxFileUploadHelper.RootTempFolderPath = HttpContext.Current.Server.MapPath("~/Temp");
BundleTable.EnableOptimizations = true;
}
Expand Down

0 comments on commit 2a94157

Please sign in to comment.