---
title: "Is it possible to use FileUpload control within the update panel?"  
description: "Is it possible to use FileUpload control within the update panel?"  
author: "Anonymous User"  
published: 2012-06-04  
updated: 2012-06-05  
canonical: https://www.mindstick.com/forum/418/is-it-possible-to-use-fileupload-control-within-the-update-panel  
category: "ajax"  
tags: ["ajax"]  
reading_time: 1 minute  

---

# Is it possible to use FileUpload control within the update panel?

Hello Everyone,\
Can [anyone tell me](https://www.mindstick.com/interview/23033/can-anyone-tell-me-about-hadoop-toolbox), Is it possible to use [FileUpload control](https://www.mindstick.com/articles/331/validating-fileupload-control-for-specific-file-type-and-required-field) within the [update panel](https://www.mindstick.com/forum/12747/update-panel-asp-dot-net-page-refresh)?. Please reply with code.\
\

## Replies

### Reply by Anonymous User

Hi Tanuj Kumar,\
YES! of course, you can use [FileUpload](https://www.mindstick.com/forum/428/is-there-a-way-to-check-fileupload-has-file-or-not-in-client-side-if-it-has-i-want-to-enable-button) [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) within [update](https://www.mindstick.com/forum/156353/what-is-hummingbird-update) [panel](https://www.mindstick.com/blog/11988/restructuring-corporate-offenses-government-appointed-panel-suggests-in-house-adjudication-system). 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. \
\
\


---

Original Source: https://www.mindstick.com/forum/418/is-it-possible-to-use-fileupload-control-within-the-update-panel

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
