Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
WebUpload doesn't display filename after selecting from the browse dialog box
posted

Everything with the WebUpload control appears to work for me except when focus returns from the browse dialog to the Web Form.  The filename isn't populated in the control.  Please help.

aspx code is below:

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="InfragisticsWebUpload.aspx.vb" Inherits="FileTransferSystem.InfragisticsWebUpload" %>

<%

 

@ Register assembly="Infragistics4.Web.jQuery.v11.1, Version=11.1.20111.2036, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig" %>

<

 

 

asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

<

 

 

script type="text/javascript" id="igClientScript1">

<!--

function

 

 

 

onErrorHandler(e, args)

{

$(

 

"#error-message").html(args.errorMessage).stop(true, true).fadeIn(500).delay(3000).fadeOut(500);

}

</

 

 

 

script

>

</

 

 

 

asp:Content

>

<

 

 

 

asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat

="server">

<

 

 

 

link type="text/css" href="/Styles/jquery.ui.custom.css" rel="stylesheet"

/>

<

 

 

 

link type="text/css" href="/Styles/ig.ui.min.css" rel="stylesheet"

/>

<

 

 

 

script type="text/javascript" src="/Scripts/jquery-1.4.1.min.js"></script

>

<

 

 

 

script type="text/javascript" src="/Scripts/jquery-ui.min.js"></script

>

<

 

 

 

script type="text/javascript" src="/Scripts/ig.ui.min.js"></script

>

 

 

 

<h2

>

Test Upload

 

</h2

>

 

 

 

<p

>

This system allows users to upload Documents, Images, Audio and Video Files

 

 

</p

>

 

 

 

<ig:WebUpload ID="WebUpload1" runat="server"

 

 

 

LabelUploadButton="Select File(s) to Upload" ShowFileExtensionIcon="true"

 

 

 

Mode

="Multiple">

 

 

 

<ClientEvents OnError="onErrorHandler"

/>

 

 

 

</ig:WebUpload

>

</

 

 

 

asp:Content>

 

Parents
No Data
Reply
  • 1800
    posted

    Hi gg8695,

    I checked the code you have shown us - but it looks OK and should work properly.

    Also we have not had such issue till now so I need to know: what browser do you use? Have you made some changes in you css files or the other resource files?

    Btw when you select the file from browse dialog and start uploading - is the uploading works properly? I mean whether the progress is shown correctly and whether the file is uploaded correctly. Also which file have you used? Have you tried to test with files with different names - test.txt, myTest.pdf, etc.

    My advice is to check this sample: http://samples.infragistics.com/aspnet/Samples/WebUpload/Display/MultipleUpload/Default.aspx?cn=web-upload&sid=a8c69ee2-99e1-4512-938b-52c5d0b9cb6f

    Another suggestion I can propose you is to use the code from the sample and when you run it and everything is working correctly then to change it so it fits your needs. If your problem persists please specify more details. It will be very helpful for us if you can send some little project/web site which only demostrates the problem(only the needed files to replicate it with the steps you do). If this is possible for you it will help us a lot.

    Thanks,

    Miro Hristov

Children