refresh textbox after upload by using webfileuloader

1 reply. Last post: October 22, 2010 12:35 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi

I try to use WebFileUploader in FullPostBack mode. On after upload i set simple code

    protected void WebFileUploader1_AfterUpload(object sender, ISNet.WebUI.WebTextEditor.WebFileUploaderFileEventArgs e)
    {
        TextBox1.Text = e.WebFileUploadInfo.FileName;
    }

but after postback the textbox text is still empty.

Where is the problem ?

        <ISWebTextEditor:WebFileUploader ID="WebFileUploader1" runat="server" 
            FilesCount="1" onafterupload="WebFileUploader1_AfterUpload" 
            PostbackMode="FullPostBack" UploadPath="d:\">
        </ISWebTextEditor:WebFileUploader>
        <br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

Thx for help...

regards

Adam

All times are GMT -5. The time now is 12:58 AM.
Previous Next