C# .NET - when i use AsyncFileUpload to upload file.on first click of Browse,file is not getting upl

Asked By Gokarna Mane on 20-Feb-14 12:33 AM
when i use AsyncFileUpload to upload file.on first click of Browse,file is not getting uploaded...rather whatevr i have mentioned in ThrobberID its getting displayed before uploading any file.. following is my code..But second time after Upload button clcik its getting browsed ..I m stuck badly Plz help thancs in advance

Snippet
<td>
 <cc1:AsyncFileUpload ID="UploadNewsAnnouncm" runat="server" UploaderStyle="Traditional" 
OnClientUploadStarted="uploadStart" OnClientUploadError="UploadError" OnClientUploadComplete="uploadComplete"
 OnUploadedComplete="UploadNewsAnnouncm_UploadedComplete" Width="225px" CssClass="AsyncFUpload f_left"
   />
  <%--  <span id="span1" runat="server" >Uploading...</span> --%>
 <asp:UpdatePanel ID="UpdatePanel" runat="server">
  <ContentTemplate>
   <asp:Button ID="btnUploadNewsAnnouncm" runat="server" Text="Upload" CssClass="btn margin-left-10"
  OnClick="btnUpload_OnClick"  style="margin-right:10" />
   </ContentTemplate>
   </asp:UpdatePanel>
  </td>
MARKAND BHATT replied to Gokarna Mane on 20-Feb-14 09:38 AM
You need to register asyncfileupload control.
look at this http://www.daniweb.com/web-development/aspnet/threads/285634/register-fileupload-control