Posted on: 5/9/2012 10:10:52 AM | Views : 461

Hi,
I have the following code to upload a file using a FileUpload control.
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server"> <asp:UpdatePanel ID="UpdatePanel" runat="server" ViewStateMode="Enabled"> <ContentTemplate> <asp:Panel ID="Panel1" runat="server"> <ajaxToolkit:AsyncFileUpload ID = "FileUpload1" runat = "server" /> <asp:Button ID="Button28" runat="server" CssClass="buttoncss" Text="Save" onclick="Button28_Click" /> </asp:Panel> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID = "Button28" /> </Triggers> </asp:UpdatePanel> </asp:Content> In the ButtonClick event, I try to check if the ...

Go to the complete details ...