New Additions
06 Aug 2020 06 Aug 2020 0 Comments  28 Views
Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Button will be referenced and then JavaScript function will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Button is clicked, the JavaScript function will be called in ASP.Net using C# and VB.Net.
06 Aug 2020 06 Aug 2020 0 Comments  30 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Delete Confirmation Box with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Delete Button will be referenced and then JavaScript Confirmation Box will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Delete Button is clicked, the JavaScript Confirmation Box will be displayed in ASP.Net using C# and VB.Net.
06 Aug 2020 06 Aug 2020 0 Comments  23 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Delete Confirmation Box with RowCommand in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Delete Button will be referenced and then JavaScript Confirmation Box will be assigned to its Client Side OnClick event handler in ASP.Net using C# and VB.Net.

Thus when the RowCommand event is triggered, the JavaScript Confirmation Box will be displayed in ASP.Net using C# and VB.Net.
18 Dec 2013 05 Aug 2020 7 Comments  119232 Views
Here Mudassar Ahmed Khan has explained with an example, how to display GridView Row details in jQuery UI Dialog Modal Popup in ASP.Net.

When View Button is clicked, the GridView Row is referenced and the values of each Column are fetched and displayed in jQuery UI Dialog Modal Popup in ASP.Net.
05 Aug 2020 05 Aug 2020 0 Comments  251 Views
Here Mudassar Ahmed Khan has explained with an example, how to capture still image / photo / picture from Web Camera (Webcam) in using HTML5 and jQuery ASP.Net with C# and VB.Net.

In order to capture images from Web Camera (Webcam), jQuery Webcam.js plugin will be used.

The images captured using Web Camera (Webcam) will be saved in Folder (Directory) and displayed in HTML Image control in ASP.Net.
11 Nov 2012 04 Aug 2020 13 Comments  249827 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete records or rows from ASP.Net GridView with Confirmation Box using CommandField and RowDeleting event.
22 Nov 2016 20 Jul 2020 6 Comments  52270 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Google RECaptcha version 2.0 on Client Side using JavaScript and jQuery in ASP.Net.

The Google RECaptcha version 2.0 allows to validate the Captcha response on client side using its Callback functions.

The Google RECaptcha 2.0 will be validated using ASP.Net RequiredFieldValidator.
26 Oct 2015 20 Jul 2020 2 Comments  32116 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate (check) Google RECaptcha version 2.0 before Form Submit using JavaScript and jQuery in ASP.Net.

The Google RECaptcha version 2.0 allows to validate the Captcha response on client side using its Callback functions.

The Google RECaptcha 2.0 will be validated using ASP.Net RequiredFieldValidator.
14 Feb 2015 18 Jul 2020 2 Comments  53759 Views
Here Mudassar Ahmed Khan has explained how to register and get Google reCAPTCHA Site Key i.e. Public Key and Secret Key i.e. Private Key.

In order to integrate the Google reCAPTCHA to the website, one has to register the website with Google and then generate the required Site Key i.e. Public Key and Secret Key i.e. Private Key for the reCAPTCHA.

This article is valid for reCAPTCHA version 2 and reCAPTCHA version 3.
08 Apr 2009 18 Jul 2020 49 Comments  312703 Views
Mudassar Ahmed Khan has explained with an example, how to save file directly to SQL Server database using the ASP.Net File Upload control in C# and VB.Net.

This article will illustrate how files like images, Word document, Excel document, Portable Document Format (PDF), Text Files can be uploaded, converted into Binary data and the saved into the SQL Server database in ASP.Net.
17 Jul 2020 17 Jul 2020 0 Comments  451 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery AJAX in ASP.Net Core Razor Pages.

The POST method of the Razor Page will be called using jQuery AJAX and JSON from HTML in ASP.Net Core.
16 Jul 2020 16 Jul 2020 0 Comments  317 Views
Here Mudassar Ahmed Khan has provided a short Hello World Tutorial using a small Sample Program example on how to use Razor Pages in ASP.Net Core 2.0 for the first time.

This article makes use of Visual Studio for developing the ASP.Net Core 2.0 Razor Pages Hello World Sample program.
20 Apr 2009 15 Jul 2020 33 Comments  444146 Views
Here Mudassar Ahmed Khan has explained how to build an Image Gallery to display images from SQL Server Database using the GridView control in ASP.Net.

Image files will be uploaded and then will be saved (inserted) to SQL Server database table in Binary format. The saved (inserted) Image files will be retrieved and displayed in ASP.Net GridView along with feature to Zoom the Image using jQuery.
15 Jul 2020 15 Jul 2020 0 Comments  499 Views
ASP.Net  AJAX  jQuery  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to call the Controller method with parameters from View using jQuery AJAX in ASP.Net Core MVC.

The Controller’s Action method will return the JSON data back to the View using JsonResult class in ASP.Net Core MVC.
15 Jul 2020 15 Jul 2020 0 Comments  609 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to return JSON from Controller in ASP.Net Core MVC.

The Controller’s Action method will be called using jQuery AJAX function and JSON data will be returned back to the View using JsonResult class in ASP.Net Core MVC.
15 Jul 2020 15 Jul 2020 0 Comments  481 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to solve the issue of jQuery AJAX POST call not working in ASP.Net Core MVC.

This article will illustrate with a simple example, how to make an AJAX POST call to Controller using jQuery in ASP.Net Core MVC.
14 Jul 2020 14 Jul 2020 0 Comments  516 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the issue of Lowercase JSON Property Names in ASP.Net Core MVC.

In order to solve this problem, the default ContractResolver needs to be replaced with the ContractResolver of Newtonsoft JSON Serializer in ASP.Net Core MVC.
14 Jul 2020 14 Jul 2020 0 Comments  532 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery AJAX and JSON in ASP.Net Core MVC.

The Controller’s Action method will be called using jQuery AJAX and JSON from View in ASP.Net Core MVC.
14 Jul 2020 14 Jul 2020 0 Comments  401 Views
ASP.Net  MVC  Core  Barcode
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display Barcode Image in ASP.Net Core MVC.

The Barcode Image will be dynamically generated using .Net Graphics API and Barcode Font in ASP.Net Core MVC.
30 Nov 2017 10 Jul 2020 0 Comments  12703 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display Barcode Image in ASP.Net MVC Razor.

The Barcode Image will be dynamically generated using .Net Graphics API and Barcode Font in ASP.Net MVC Razor.
17 Dec 2014 10 Jul 2020 2 Comments  28427 Views
Here Mudassar Ahmed Khan has explained how to dynamically generate and display barcode image in Windows Forms (WinForms) Application using C# and VB.Net.
09 Jul 2020 09 Jul 2020 0 Comments  482 Views
ASP.Net  MVC  Core  QRCode
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display QR Code Image in ASP.Net Core MVC Razor.

The QR Code Image will be dynamically generated in ASP.Net Core MVC Razor using the QRCoder library which is an Open Source Library QR code generator.
07 Jul 2020 07 Jul 2020 0 Comments  726 Views
Here Mudassar Ahmed Khan has explained with an example, how to return List from SqlDataReader in ASP.Net using C# and VB.Net.

The records from the Database will be read using SqlDataReader and then the data is copied into the Generic List collection of the Class objects, which is later used to populate the GridView in ASP.Net using C# and VB.Net.
13 Jul 2015 06 Jul 2020 0 Comments  13209 Views
Here Mudassar Ahmed Khan has explained with an example, how to display the details of the GridView Row in JavaScript alert message box when the Button inside the GridView Row is clicked in ASP.Net using C# and VB.Net.
09 Mar 2016 06 Jul 2020 0 Comments  10910 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) GridView using Property Class in ASP.Net using C# and VB.Net.

The records from the Database will be read using SqlDataReader and then the data is copied into the Generic List collection of the Property Class objects,
which is later used to populate the GridView in ASP.Net using C# and VB.Net.