i am trying to validate FileUpload control for check that user can select only 10 images.i already have the server-side code but i want to validate it on client side.

Please help

Code

    <asp:FileUpload ID="FileUpload2" CssClass="myButton1" multiple="multiple" runat="server"  />

 <asp:Button ID="Btnuploadimages" runat="server" CssClass="myButton" Style="margin-top: 2px;"  OnClientClick="return ValidateFile2()" Text="Upload" OnClick="Btnuploadimages_Click" /> 

Related posts

Recent Viewed