Hello,
i use the 11.1 version of the upload control together with the web captcha. Unfortunately the ashx could not be found and the message i get:
Could not get your current file status! Probably connection dropped.
In my web.config i have following definitions:
<httpModules> <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule"/> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </httpModules> <httpHandlers> <add path="IGUploadStatusHandler.ashx" verb="GET" type="Infragistics.Web.UI.EditorControls.UploadStatusHandler" validate="true" /> <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" /> <add path="WebCaptchaImage.axd" verb="GET,HEAD" type="Infragistics.Web.UI.EditorControls.CaptchaImageHandler" validate="true" /> </httpHandlers>
Can anyone help me?
Are there any incompatibilities with the WebCaptcha?
Thank you
Martin
In my page.aspx i have following code:
..
<%@ Register Assembly="Infragistics4.Web.jQuery.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="ig" %><%@ Register Assembly="Infragistics4.Web.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="igcap" %>
<asp:Content ID="HeadContent" ContentPlaceHolderID="head" Runat="Server"> <%--http://es.infragistics.com/community/blogs/damyan_petev/archive/2011/09/03/using-netadvantage-jquery-upload-control-in-asp-net-mvc.aspx--%> <link href="http://cdn-na.infragistics.com/jquery/20111/2010/themes/min/ig/jquery.ui.custom.min.css" rel="stylesheet" type="text/css" /> <link href="http://cdn-na.infragistics.com/jquery/20111/2010/themes/min/base/ig.ui.min.css" rel="stylesheet" type="text/css" /> <script src="http://code.jquery.com/jquery-1.6.2.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script> <script src="http://cdn-na.infragistics.com/jquery/20111/2010/js/combined/min/ig.ui.min.js" type="text/javascript"></script> <script src="~/ig_ui/js/min/ig.ui.upload.min.js" type="text/javascript" id="igClientScript"></script>
<asp:Content ID="MainContent" ContentPlaceHolderID="content" runat="Server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <script language="javascript" type="text/javascript">js_Validate();</script> <script type="text/javascript" language="javascript"> function showAlert(args) { $("#error-message").html(args.errorMessage).stop(true, true).fadeIn(500).delay(5000).fadeOut(500); }
<fieldset id="FileWebUpload" runat="server"> <legend>5. Dateianhänge (max. 4 MB je Datei; wir unterstützen MS Office-Dateien, PDF, ZIP, TXT und CSV-Dateiformate)</legend> <ig:WebUpload ID="WebUpload" runat="server" Mode="Multiple" MaxSimultaneousFilesUploads="2" MaxUploadedFiles="5" OnUploadStarting="WebUpload_OnUploadStarting" OnUploadFinishing="WebUpload_OnUploadFinishing" AutoStartUpload="true" AllowedExtensions="'doc','docx','xls','xlsx','ppt','pptx','pdf','txt','zip','csv'" ProgressUrl="/IGUploadStatusHandler.ashx" LabelUploadButton="Datei hochladen" ToolTip="Sie können max. 5 Dateien hochladen" LabelAddButton="Hinzufügen" LabelClearAllButton="Entfernen" LabelHideDetails="Details ausblenden" LabelShowDetails="Details einblenden" LabelSummaryProgressButtonCancel="Abbrechen" LabelSummaryProgressButtonContinue="Hochladen" LabelSummaryProgressButtonDone="Erledigt" LabelSummaryTemplate="{0} von {1} hochgeladen" ErrorMessageOther="Es ist ein interner Fehler beim Hochladen der Datei aufgetreten. Möglicherweise existiert die Datei bereits in dem Verzeichnis. Fehlercode: {0}."> <ClientEvents OnError="onErrorHandler"></ClientEvents> </ig:WebUpload> <div id="error-message" style="color: #FF0000; font-weight: bold;"></div> </fieldset> <div align="center"> <igcap:WebCaptcha ID="WebCaptchaKontakt" runat="server" Width="250px" ProtectionMode="InvisibleInputField" SubmitButton-Visible="False" InputValueEditor-NullText="Text vom Bild angeben"> </igcap:WebCaptcha> </div>..
Hello Stumpy74,
Please ensure that the IIS7 modules and handler entries are also added in the web.config file in this scenario, as described at:
http://help.infragistics.com/doc/ASPNET/2013.2/CLR4.0/?page=WebUpload_HTTP_Module_and_Handler.html
In order to research this further a sample of the application in question would be greatly appreciated.
Please do not hesitate to contact me with any updates or questions.
Please do not hesitate to contact me if you are still experiencing any issues with this scenario.