Re: Bought the license and now it does not work.

  •  02-07-2013, 6:20 PM

    Re: Bought the license and now it does not work.

    That example you sent causes no errors.

    I'll continue to debug it.

    This is my code that I was using for the evaluation files.  As soon as I bought the license I got the error.  Here is the code:

     Maybe you might see something that I am not seeing. I attached the error image.

     

    Thanks 

     

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

     

    <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>

     

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

     

    <script runat="server">

        void InsertMsg(string msg)

        {

            ListBoxEvents.Items.Insert(0, msg);

            ListBoxEvents.SelectedIndex = 0;

        }

     

        void Uploader_FileUploaded(object sender, UploaderEventArgs args)

        {

           

            InsertMsg("File uploaded! " + args.FileName + ", " + args.FileSize + " bytes.");

     

            //Copys the uploaded file to a new location.

            args.CopyTo("C:/Users/xxxx/Documents/xxx/xxx/putHere/" + args.FileName);

            //args.CopyTo(ConfigurationSettings.AppSettings["LoadFiles"] + args.FileName);

       

            //args.Delete(); 

           

           

           

        }

    </script>

     

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head id="Head1" runat="server">

        <title>Selecting multiple files for uploading</title>

        <link rel="stylesheet" href="css/xxx.css" type="text/css" />

    </head>

    <body class="rptBody">

        <form id="form1" runat="server">

       

        <table border="0" cellpadding="0" cellspacing="0">

     

        <tr>

            <td align="center">

                <asp:HyperLink ID="HyperLinkEffectHelp" CssClass="noBorder" runat="server" Target="Help" NavigateUrl="~/helpEffect.aspx#effectReport" ImageUrl="~/Images/xxx.jpg"></asp:HyperLink>   

            </td>

        </tr>

        <tr>

        <td>

       

            <div class="content">

           

                <asp:ScriptManager ID="Scriptmanager1" runat="server">

                </asp:ScriptManager>

               

                <asp:UpdatePanel ID="UpdatePanel1" runat="server">

                   <ContentTemplate>

                            Select multiple files in the file browser dialog then upload them at once.

                        <CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload Multiple Files (Max 1000 MB)"

                            MultipleFilesUpload="true" OnFileUploaded="Uploader_FileUploaded">

                            <ValidateOption MaxSizeKB="1048576" />

                        </CuteWebUI:Uploader>

                       

                       

                        <p>

                            Files Uploaded:

                            <br />

                            <asp:ListBox runat="server" ID="ListBoxEvents" />

                        </p>

                        <%--<asp:Button ID="ButtonPostBack" Text="This is a PostBack button" runat="server" OnClick="ButtonPostBack_Click" />--%>

                    </ContentTemplate>

                </asp:UpdatePanel>

            </div>

           

        </td>

        </tr>

        </table>

           

           

           

        </form>

    </body>

    </html>

     

     

     

     

View Complete Thread