I see samples out there that show ASP MVC code, but none with native ASP.Net code. Can you direct me?
Hi smaple2dt,
You can check http://samples.infragistics.com/aspnet/ComponentOverview.aspx?cn=web-upload for ASP.NET samples for WebUpload.
Regards,
Miro Hristov
These ASP.Net samples all appear to be MVC. I am looking for a native ASP sample.
My current attempt renders the control properly at design time, but only an empty DIV shows up in rendered code at run time for the Upload command and the page is blank.
What important thing am I missing?
Here is my current ASPX page Code:
<%
@ Register Assembly="Infragistics4.Web.jQuery.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="igjq" %>
<!
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> <title>Basic Functionality</title>
<link href="Styles/ig/jquery.ui.custom.css" rel="stylesheet" type="text/css" />
link href="Styles/Base/ig.ui.css" rel="stylesheet" type="text/css" />
script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
script src="Scripts/jquery-ui-1.8.13.custom.min.js" type="text/javascript"></script>
script src="Scripts/ig.ui.min.js" type="text/javascript"></script>
</
head>
body>
html>
Here are the pertinent parts of the Web.config:
appSettings><add key="fileUploadPath" value="~/Uploads" /><add key="maxFileSizeLimit" value="100000000" /><add key="bufferSize" value="16384" /><add key="allowedMIMEType" value="*" /></appSettings>
<httpHandlers><add path="*.html" verb="GET,POST" type="System.Web.StaticFileHandler" /><add verb="GET" type=" Infragistics.Web.UI.EditorControls.UploadStatusHandler" path="IGUploadStatusHandler.ashx" /></httpHandlers>
httpModules><add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule" /></httpModules>
@ Register Assembly="Infragistics4.Web.jQuery.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="igjq"%>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
="http://www.w3.org/1999/xhtml">
>
Here is my web.config (pertinent parts):
configuration>
/>
httpHandlers
add path="*.html" verb="GET,POST" type="System.Web.StaticFileHandler"
add verb="GET" type=" Infragistics.Web.UI.EditorControls.UploadStatusHandler" path="IGUploadStatusHandler.ashx"
add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule"
httpModules