We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

UploadBox Issue on IIS

Hi Sasikala Nagarajan,

I have a problem with both jquery syncfusion UploadBox $("#divUploadBox").ejUploadBox({...}) and MVC Upload box @Html.EJ().UploadBox("MyUploadBoxId"). These controls are working fine on local system while running from Visulal Studio. But these are not working on IIS Server as the Action and Controller path given in the  saveURL (saveURL: "/ControllerName/SaveDefault") is not detecting on IIS .
Please suggest what should be done to resolve this on IIS.

Thanks & Regards,
Jitender 


1 Reply

MS Muralishankar Sundaram Syncfusion Team May 2, 2016 09:46 AM UTC

Hi Jitender,    
  
Thanks for your update,    
  
In order to handle the reported issue -“ these are not working on IIS Server as the Action and Controller path given in the  saveURL (saveURL: "/ControllerName/SaveDefault") is not detecting on IIS.” we suggest you to use @Url.Action URL helper, which will form the action URL based on the application configuration. Please find the sample snippet below:   
 
[View- CSHTML] 
 
<code> 
 
@Html.EJ().Uploadbox("UploadDefault").SaveUrl(@Url.Action("SaveActionName","ControllerName")).RemoveUrl(@Url.Action("RemoveActionName ","ControllerName")) 
 
</code> 

We have prepared the simple uploadbox sample with the use case scenario and refer the below link:  http://www.syncfusion.com/downloads/support/forum/117547/ze/WebApp-1253510022  

Please let us know if you have any other concerns. 

Regards, 
Muralishankar 


Loader.
Live Chat Icon For mobile
Up arrow icon