Category - FileUpload
Results 81 - 100 of 108
05 Jan 2018 05 Jan 2018 1 Comments  85561 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload File using the HTML INPUT File element (<input type = “file” />) for uploading files in ASP.Net using C# and VB.Net.
05 Jan 2018 05 Jan 2018 0 Comments  18703 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload file without using FileUpload control in ASP.Net using C# and VB.Net.

This article will explain how to upload File using the HTML INPUT File element for uploading files in ASP.Net using C# and VB.Net.
01 Jan 2018 01 Jan 2018 0 Comments  53302 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload file using Web Service (ASMX) in ASP.Net using C# and VB.Net.

First the file will be uploaded using FileUpload control and then the uploaded file will be converted to Byte Array and finally the Byte Array will be passed to the Web Service (ASMX) in ASP.Net using C# and VB.Net.
29 Nov 2017 29 Nov 2017 0 Comments  18142 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email with multiple attachments using Multiple FileUpload control in ASP.Net 4.5 using C# and VB.Net.

The multiple files to be send as attachments along with mail will be uploaded using ASP.Net 4.5 Multiple FileUpload control and will be dynamically added as attachment in the MailMessage class object without saving in any folder on disk.

This article will make use of Gmail SMTP Mail Server for sending emails, to send email with Gmail SMTP Server, you will need to use an email address and password of a valid Gmail account and along with that you will need the Gmail SMTP Mail Server settings.
17 Nov 2017 20 Feb 2019 0 Comments  14637 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload multiple files with Progress Bar using AngularJS and AJAX in ASP.Net MVC Razor.

Multiple files such as Image, PDF, Word, Excel, etc. and also large Music and Video files such as MP3 and MP4 will be easily uploaded with Progress Bar using AngularJS and AJAX in ASP.Net MVC Razor.

This article makes use the ngFileUpload AngularJS directive which makes use of Controller’s Action method for uploading files using AngularJS and AJAX in ASP.Net MVC Razor.
16 Nov 2017 16 Nov 2017 0 Comments  7957 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload multiple files with Progress Bar using AngularJS and AJAX in ASP.Net using C# and VB.Net.

Multiple files such as Image, PDF, Word, Excel, etc. and also large Music and Video files such as MP3 and MP4 will be easily uploaded with Progress Bar using AngularJS and AJAX in ASP.Net.

This article makes use the ngFileUpload AngularJS directive which makes use of Generic HTTP Handlers for uploading files using AngularJS and AJAX in ASP.Net.
19 Apr 2017 19 Apr 2017 0 Comments  60329 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML Fileupload element (<input type = “file” />) using Html Helper and Model in ASP.Net MVC Razor.

By default, there is no Html Helper method for creating HTML Fileupload element (<input type = “file” />) in ASP.Net MVC Razor and hence Html.TextBoxFor function is used and the type Attribute is set to value File.
18 Apr 2017 18 Apr 2017 0 Comments  59985 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Client Side validation of HTML Fileupload element (<input type = “file” />) using Data Annotations in Model class and jQuery in ASP.Net MVC Razor.

HTML Fileupload element validation will allow upload of only certain files by filtering them using their extensions. This filtering of files will be done using the RegularExpression Data Annotation attribute in Model class.
28 Oct 2016 28 Oct 2016 3 Comments  83828 Views
Here Mudassar Ahmed Khan has explained with an example, how to Upload File in ASP.Net using C# and VB.Net.
First a Folder (Directory) will be created on the Server’s disk and then the file will be uploaded and saved using C# and VB.Net.
02 Aug 2016 02 Aug 2016 1 Comments  113869 Views
Here Mudassar Ahmed Khan has explained a Tutorial with example, how to use the ASP.Net FileUpload control in C# and VB.Net.
The ASP.Net FileUpload control is supported in .Net 2.0, 3.0, 3.5, 4.0 and 4.5 versions.
02 Aug 2016 02 Aug 2016 1 Comments  62744 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Folder (Directory) and Upload file in ASP.Net using C# and VB.Net.
The Folder (Directory) will be created on the Server’s disk.
21 Jul 2015 21 Jul 2015 5 Comments  136320 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload file without clicking Submit Button when using the FileUpload control in ASP.Net using C# and VB.Net.
The Submit Button will be hidden and as soon as File is selected using FileUpload control, the Submit Button click event is triggered using JavaScript which will do PostBack and file is uploaded.
30 May 2015 30 May 2015 3 Comments  43428 Views
Here Mudassar Ahmed Khan has explained how to show (display) ASP.Net AJAX UpdateProgress with UpdatePanel PostBackTrigger.
22 May 2015 22 May 2015 2 Comments  54914 Views
Here Mudassar Ahmed Khan has explained how to show (display) loading Progress Bar when uploading files using AJAX UpdatePanel and UpdateProgress in ASP.Net in C# and VB.Net.
ASP.Net FileUpload control requires PostBackTrigger while ASP.Net AJAX UpdateProgress works with AsyncPostBackTrigger of AJAX UpdatePanel.
This article explains how to use ASP.Net AJAX UpdateProgress with PostBackTrigger so that when file is uploading a loading Progress Bar can be shown.
21 May 2015 21 May 2015 2 Comments  16273 Views
Here Mudassar Ahmed Khan has explained how to select upload multiple files in browsers that support HTML5 using FileUpload control in in ASP.Net 2.0, 3.0, 3.5 and 4.0.
ASP.Net 4.5 added a new feature to FileUpload control i.e. AllowMultiple which allows user to select multiple files in browsers that support HTML5. ASP.Net versions 2.0, 3.0, 3.5 and 4.0 does not support AllowMultiple feature.
18 Apr 2015 18 Apr 2015 3 Comments  109597 Views
Here Mudassar Ahmed Khan has explained how to get and then validate (check) dimensions (Height and Width) of Image file before upload using HTML5, JavaScript and jQuery.
HTML5 allows developers to access the file details such as Height and Width using JavaScript and jQuery.
07 Feb 2015 07 Feb 2015 8 Comments  138793 Views
Here Mudassar Ahmed Khan has explained how to validate File extension before Upload using Regular Expression (Regex) in JavaScript and jQuery.

The selected File’s extension will be validated using a Regular Expression and an error message will be displayed when an invalid file is selected.
07 Feb 2015 07 Feb 2015 3 Comments  83579 Views
Here Mudassar Ahmed Khan has explained how to validate FileUpload Control using Regular Expression and RegularExpressionValidator in ASP.Net.

The validation will perform required validation and will also validate the selected file using File extension in ASP.Net.
17 May 2013 20 Jun 2019 0 Comments  64443 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to display images from Folder (Directory) in ASP.Net using GridView control.
18 Feb 2013 20 Jun 2019 20 Comments  416373 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload images and save it in a Folder (Directory) on Disk using ASP.Net FileUpload control using C# and VB.Net.

This article will also illustrate how to fetch the Image files from Folder (Directory) and display the same in ASP.Net GridView using C# and VB.Net.
Results 81 - 100 of 108