Posted on: 6/12/2015 7:45:58 AM | Views : 683

Hi,
I have a update panel in my aspx page, and I have added a file upload control.
When i click on upload button after browsing a file, I am getting the "HasFiles" property as false.
I have tried the below code, but it is not working.
<asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"> <ContentTemplate> <asp:FileUpload ID="FileUpload1" runat="server" AllowMultiple="true" ClientIDMode="Static" /> <asp:Button ID="btnUpload" Text="Upload" runat="server" OnClick ="UploadMultipleFiles" /> <asp:Label ID="listofuploadedfiles" runat="server" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnUpload" /> </Triggers> ...

Go to the complete details ...