IS IT POSSIBLE TO USE FILEUPLOAD CONTROL WITHIN THE UPDATE PANEL?

Tanuj Kumar

Total Post:134

Points:940
Posted by  Tanuj Kumar
AJAX 
 2710  View(s)
Ratings:
Rate this:
Hello Everyone,
Can anyone tell me, Is it possible to use FileUpload control within the update panel?. Please reply with code.

  1. Arun Singh

    Post:68

    Points:476
    Re: Is it possible to use FileUpload control within the update panel?

    Hi Tanuj Kumar,
    YES! of course, you can use FileUpload control within update panel. You can use FileUpload control within update panel by using following line of code...

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="conditional">
       <ContentTemplate>
          <ews:DatePicker ID="DatePicker1"
             runat="server" UsingUpdatePanel="True" /><br />
          <asp:Label ID="Label1" runat="server"></asp:Label><br /><br />
          <asp:FileUpload ID="FileUpload1" runat="server" />
          <asp:Button ID="Button1" runat="server"
             Text="Upload" />
       </ContentTemplate>
    </asp:UpdatePanel>

    I hope it will solve your problem. Please marked as answer if this line of code will solve your problem.


     

      Modified On Jun-05-2012 02:10:23 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!