Events not firing

Last post 10-10-2010, 10:20 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-05-2010, 5:38 AM 64324

    Events not firing

    I'm trying out your product to see how well it will work on my site, but can't get the Uploader.
    OnFileUploaded to fire.  I am using your example "selecting-multiple-files.aspx" as is, the file uploads fine, but the ListBoxEvents never gets populated.  I've tried this with a few examples and can't get it to work.  Any idea why?
    thx
  •  10-10-2010, 10:20 PM 64386 in reply to 64324

    Re: Events not firing

    Hi Holt,
     
    Please try the example below.
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    4.   
    5. <script runat="server">  
    6.   
    7.     protected void attachment1_FileUploaded(object sender, UploaderEventArgs args)  
    8.     {  
    9.         lb_Message.Text = "Upload event fire";  
    10.     }  
    11. </script>  
    12.   
    13. <html xmlns="http://www.w3.org/1999/xhtml">  
    14. <head runat="server">  
    15.     <title>Untitled Page</title>  
    16. </head>  
    17. <body>  
    18.     <form id="form1" runat="server">  
    19.         <CuteWebUI:UploadAttachments ID="attachment1" runat="server" OnFileUploaded="attachment1_FileUploaded">  
    20.         </CuteWebUI:UploadAttachments>  
    21.         <asp:Label ID="lb_Message" runat="server"></asp:Label>  
    22.     </form>  
    23. </body>  
    24. </html> 
    I think you are testing the asp.net version. If you have move questions, you can contact me directly(Kenneth@CuteSoft.net) or post your question on the asp.net version forum http://cutesoft.net/forums/48/ShowForum.aspx
     
     
    Keep me posted.
     
    Regards,
     
    ken
View as RSS news feed in XML