Hi, the HasFile property for FileUpload control always returns false, we know this is a common issue with updatepanel but we do not use update panel. We use FileUpload control withing content control(asp:Content) but we do not thing this may cause this probem, however here is my code:
In the aspx page:
<%@ Page Language="VB" MasterPageFile="~/Default.master" AutoEventWireup="false" Inherits="myapp.mypage" title="Upload" CodeBehind="upload.aspx.vb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" class="MainTableStyle">
<tr>
<td style="width: 10%;">
File:
</td>
<td style="width: 90%;">
...
Go to the complete details ...