Re: Semi-Colon in filename

  •  01-05-2009, 1:36 AM

    Re: Semi-Colon in filename

    Hi ChrisThomas,
     
    I can not reproduce this issue, the file name(080617-Robertson FM & KM-Pre Review Questioinnaire.pdf) works fine for me.
     
    Please try this example:
     

    <%@ Page Language="C#" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">

        protected void uploader1_FileUploaded(object sender, UploaderEventArgs args)
        {
            label1.Text = args.FileName;
            //args.CopyTo("c://test//" + args.FileName);
        }

      
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <CuteWebUI:Uploader ID="uploader1" runat="server" OnFileUploaded="uploader1_FileUploaded">
                </CuteWebUI:Uploader>
                <asp:Label ID="label1" runat="server"></asp:Label>
            </div>
        </form>
    </body>
    </html>
     
    When I uploaded the file(080617-Robertson FM & KM-Pre Review Questioinnaire.pdf), the file name has not changed.
     
     
    Regards,
     
    Ken
View Complete Thread