ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - File Upload - Synchronous postback

Here you can upload up to 10 MB of files with any extension, maximum size of a file - 1 MB.
Synchronous postback is used (no UpdatePanel).




ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.FileUpload" TagPrefix="obout" %>
<script type="text/JavaScript">
function onClientBeforeUpload(sender, args) {
   $get("<%= label.ClientID %>").innerHTML = ""
   return true;
}
</script>
...
<obout:FileUpload OnClientBeforeUpload="onClientBeforeUpload"
       MaximumTotalFileSize="10240" MaximumFileSize="1024"
       Width="250px" runat="server" id="fileUpload1"
/>
<br /><asp:Button runat="server" ID="submit" Text="Upload files" /><br /><br />
<asp:Label runat="server" ID="label" Text="" />

"You are wonderful for your product. You are wonderful for your support. Thank you very much."


Random testimonial   All testimonials