I am using VS 2012 on windows 8 and am having problems getting the WebUpload control to work.
Adding the control to an ASP page does not appear to add the necessary script links, and when I add the links for JQuery from Google, the path to the Infragistics js files appears to be incorrect. I have fixed this, but now when I run the page in IE10, I get an error stating that '$' is undefined in one of the infragistics js files. In Chrome, the same page is run without errors, but no control is rendered. I have the following in the page:
<script type="text/javascript" src="/ig_ui/js/infragistics.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.js"></script>
and in the web.config
<httpModules> <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule" /> </httpModules> <httpHandlers> <add path="IGUploadStatusHandler.ashx" verb="GET" type="Infragistics.Web.UI.EditorControls.UploadStatusHandler" validate="true" /> </httpHandlers>
<appSettings> <add key="fileUploadPath" value="c:\temp\exodus\Uploads" /> <add key="maxFileSizeLimit" value="4194304" /> <add key="bufferSize" value="16384" /> <add key="allowedMIMEType" value="*" /> </appSettings>
Any help would be appreciated as I cannot get the control to work in any shape or form at the moment.
Hello floodg,
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.
Hi Elena,
Though I have placed Jquery files in correct order I am not able to use the webupload control as I am getting obect expected error at runtime in jquery ui file. Placed the code here.
<%
@ Register Assembly
="Infragistics35.Web.jQuery.v12.1, Version=12.1.20121.2020, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="ig"
%>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns
="http://www.w3.org/1999/xhtml">
head runat
="server">
<title></title
>
<link type="text/css" href="C:/Program Files/Infragistics/NetAdvantage 2012.1/ASP.NET/jQuery/css/themes/infragistics/infragistics.theme.css" rel="stylesheet"
/>
<link type="text/css" href="C:/Program Files/Infragistics/NetAdvantage 2012.1/ASP.NET/jQuery/css/structure/infragistics.css" rel="stylesheet"
<script src="Scripts/jquery-1.4.4.min.js" type="text/javascript"></script
<script src="Scripts/jquery-ui.min.js" type="text/javascript"></script
<script src="Scripts/infragistics.js" type="text/javascript"></script
</
head
body
<form id="form1" runat
<div>
<ig:WebUpload ID="WebUpload1" runat="server"
</ig:WebUpload>
</div
</form
html
looking forward for your reply.
Thanks in advance!!