title: Required Field Validator on FileUpload Control
body: <p>I have a form in which I have two textboxes and one fileupload control, I am using required field validator on one textbox and on Fileupload control, When I am clicking the submit button, its disabling the fileupload control and not showing any validation for it.</p>
  
  <p>I also have second button for Cancel, clicking on which redirects to previous page, when I am clicking this button its also disabling the fileuploadcontrol.
  Below is my code</p>
  
  <pre><code>&lt;asp:FileUpload ID="FileUpload1" runat="server" /&gt;
   &lt;asp:RequiredFieldValidator ID="rfvFileupload" ValidationGroup="validate" runat="server"
                                                  ControlToValidate="FileUpload1"&gt;&lt;/asp:RequiredFieldValidator&gt;
  
  
    &lt;asp:TextBox ID="txtSubj" runat="server" &gt;&lt;/asp:TextBox&gt;&lt;asp:RequiredFieldValidator
                                  ID="rfvSubject" ControlToValidate="txtSubj" runat="server" Display="Dynamic"
                                  EnableClientScript="true" ErrorMessage="* required" ValidationGroup="validate" /&gt;
  
  
  &lt;asp:Button ID="btnupload" runat="server" Text="Send" ValidationGroup="validate"
                      OnClick="btnupload_Click"&gt;
                  &lt;asp:Button ID="btncancel" runat="server" Text="Cancel" OnClick="btncancel_Click"
                      /&gt;
  </code></pre>