Uploading multiple files in a single request is a common requirement in modern web applications—whether you're building a photo gallery, a document management system, or a form that needs to accept several attachments at once. While ASP.NET MVC provides solid built-in support for file uploads, combining it with AJAX lets you upload files asynchronously without refreshing the page, giving users a smoother, more responsive experience.
In this tutorial, we'll walk through the complete process of setting up multiple file uploads using jQuery AJAX in an ASP.NET MVC application—from creating the view and handling the FormData object on the client side, to processing the uploaded files in the controller. By the end, you'll have a fully working example you can adapt to your own projects.
You will take just 3 minutes to read and understand this jQuery file Upload tutorial that uses AJAX and does not perform page reloading when saving the files on the server.
Moreover it is able to upload multiple files at the same time.
(more…)The jQuery Autocomplete feature provides suggestions when you type on a text box. It uses AJAX to fetch these suggestions from the server. The autocomplete feature is very popular and is used by Google Search to. In this tutorial I will teach you how to make this jQuery Autocomplete feature in Step-by-Step manner.
(more…)In my previous tutorial, How to Implement ASP NET Web API, I explained how to build a Web API that fetches products from a database and returns them as JSON. In this tutorial, I'll show you how to consume that Web API using jQuery.
(more…)On my last tutorial I taught How to Implement ASP NET Web API which returned products from database in JSON. Now I will consume this Web API in ASP.NET MVC.
Let start with the API consuming part.
(more…)In this Tutorial I will teach how to Implement your own ASP NET Web API from start. This API will fetch records from the database and provides the consumer with these records in JSON format. This API also implements authentication, meaning users have to provide API Key and Secret for consuming this API.
(more…)Suppose you have a page where different AJAX calls are taking place and you want to indicate your users which AJAX call is currently taking place. You can indicate this by showing different loading images for different AJAX calls.
(more…)The System.Net.Mail namespace contains the MailMessage and SmtpClient classes that are used to Send SMTP emails from C#. In this ASP.NET MVC tutorial I will teach you with example how to send emails with multiple attachments added to them.
(more…)In this tutorial, you'll learn step-by-step how to bind a GridView with jQuery AJAX with data fetched from a database. I'll also implement GridView's pagination ensuring that both data binding and paging work entirely asynchronously — without triggering a page PostBack.
(more…)If you have to Create a PDF file you can use iTextSharp DLL. It is a free DLL which you can install from NuGet.
(more…)If you want to Import Excel File into your database in ASP.NET MVC then this tutorial will teach you the fastest way to accomplish this. In this tutorial you will learn:
(more…)