Re: FileUploaded event did not fire when file uploaded successfully !

  •  10-08-2008, 4:37 AM

    Re: FileUploaded event did not fire when file uploaded successfully !

    Hi acomas ,
     
    please test this code

    <%@ Page Language="VB" %>

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

    <script runat="server">


        Protected Sub uplader1_FileUploaded(ByVal sender As Object, ByVal args As CuteWebUI.UploaderEventArgs)
            uplader1.InsertText = "test"
        End Sub
    </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=uplader1 runat=server OnFileUploaded="uplader1_FileUploaded"></CuteWebUI:Uploader>

        </div>
        </form>
    </body>
    </html>

     
    Regards
     
    Ken
View Complete Thread