Category - jQuery
Results 101 - 120 of 808
19 Feb 2021 29 Apr 2021 0 Comments  8216 Views
ASP.Net  jQuery  MVC  Form  FormData  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit Form using jQuery in ASP.Net Core MVC.

This article will explain how to create Form Fields and then submit data from View to Controller using Form Collection and jQuery AJAX in ASP.Net Core MVC
19 Feb 2021 25 Apr 2022 0 Comments  3393 Views
Here Mudassar Khan has explained with an example, how to implement and use AJAX in ASP.Net Core 2.1 Razor Pages.

This article will illustrate how to use jQuery for performing AJAX operations in ASP.Net Core 2.1 Razor Pages.
29 Jan 2021 25 Apr 2022 0 Comments  3842 Views
Here Mudassar Khan has explained with an example, how to use AntiForgeryToken with jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The jQuery Unobtrusive AJAX library does not support adding headers to the request and hence it is not possible to send AntiForgeryToken.

Thus, the possible way is to make use of normal jQuery AJAX function and then send the AntiForgeryToken by adding it to the request headers.
29 Jan 2021 29 Jan 2021 0 Comments  11755 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The POST method of the Razor Page will be called using jQuery AJAX Unobtrusive library and JSON from HTML in ASP.Net Core.
22 Jan 2021 22 Jan 2021 1 Comments  7758 Views
Here Mudassar Ahmed Khan has explained with an example, how to capture still image / photo / picture from Web Camera (Webcam) without using Flash in ASP.Net with C# and VB.Net.

In order to capture images from Web Camera (Webcam), an HTML5 based 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.
22 Jan 2021 22 Jan 2021 0 Comments  3611 Views
Here Mudassar Ahmed Khan has explained with an example, how to capture still image / photo / picture from Web Camera (Webcam) without using Flash in ASP.Net MVC Razor.

jQuery Webcam plugin is used to capture images (photos) from Web Camera (Webcam) using HTML5.
The images (photos) captured using Web Camera (Webcam) will be saved in folder and displayed in View in ASP.Net MVC Razor.
15 Jan 2021 15 Jan 2021 0 Comments  8683 Views
Here Mudassar Ahmed Khan has explained with an example, how to change the default Camel Case JSON Output in ASP.Net Core.

The default Camel Case JSON property names tend to break the Client Side JavaScript and hence in order to remove it, the default JSON Serialization needs to be replaced with Newtonsoft.Json Serialization in ASP.Net Core.
13 Jan 2021 29 Apr 2021 0 Comments  36114 Views
ASP.Net  AJAX  jQuery  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from View to Controller using jQuery AJAX in ASP.Net Core MVC.

This article will explain how to create Form Fields and then send data from View to Controller using Form Collection and jQuery AJAX in ASP.Net Core MVC.
31 Dec 2020 31 Dec 2020 0 Comments  28486 Views
Here Mudassar Ahmed Khan has explained with an example, how to set ViewBag using JavaScript or jQuery in ASP.Net MVC Razor.

ViewBag is created on Server Side of the Web application and hence it is not possible to directly set it on Client Side using JavaScript or jQuery.

Thus, only possible way is to set it by making an AJAX call to the Controller’s Action method using jQuery AJAX function in ASP.Net MVC Razor.
31 Dec 2020 31 Dec 2020 0 Comments  12992 Views
Here Mudassar Ahmed Khan has explained with an example, how to set ViewData using JavaScript or jQuery in ASP.Net MVC Razor.

ViewData is created on Server Side of the Web application and hence it is not possible to directly set it on Client Side using JavaScript or jQuery.

Thus, only possible way is to set it by making an AJAX call to the Controller’s Action method using jQuery AJAX function in ASP.Net MVC Razor.
31 Dec 2020 31 Dec 2020 0 Comments  16163 Views
Here Mudassar Ahmed Khan has explained with an example, how to set TempData using JavaScript or jQuery in ASP.Net MVC Razor.

TempData is created on Server Side of the Web application and hence it is not possible to directly set it on Client Side using JavaScript or jQuery.

Thus, only possible way is to set it by making an AJAX call to the Controller’s Action method using jQuery AJAX function in ASP.Net MVC Razor.
30 Dec 2020 30 Dec 2020 0 Comments  8513 Views
Here Mudassar Ahmed Khan has explained with an example, how to remove White Space from beginning (start) and end of string using jQuery.

When the Remove Button is clicked, a jQuery event handler is called and the whitespace is removed from beginning (start) and end of the TextBox value using jQuery.
26 Dec 2020 26 Dec 2020 0 Comments  10363 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate TextBox on Button Click using jQuery.

When the Validate Button is clicked, a jQuery event handler is called and the TextBox is referenced and its value is compared with Empty string and if the condition tests TRUE then the TextBox is considered Empty
24 Dec 2020 24 Dec 2020 0 Comments  8096 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if TextBox is Empty using jQuery.

When the Validate Button is clicked, a jQuery event handler is called and the TextBox is referenced and its value is compared with Empty string and if the condition tests TRUE then the TextBox is considered Empty.
19 Dec 2020 19 Dec 2020 0 Comments  28927 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel file using AJAX in jQuery.

The Excel file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) request and then the file will be downloaded using the Response inside the Success event handler of jQuery AJAX function.
18 Dec 2020 18 Dec 2020 0 Comments  20112 Views
AJAX  jQuery  PDF
Here Mudassar Ahmed Khan has explained with an example, how to download PDF file using AJAX in jQuery.

The PDF file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) request and then the file will be downloaded using the Response inside the Success event handler of jQuery AJAX function.
18 Dec 2020 18 Dec 2020 1 Comments  88638 Views
Excel  AJAX  jQuery  Word  PDF
Here Mudassar Ahmed Khan has explained with an example, how to download file in AJAX Response (Success) using jQuery.

The file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) request and then the file will be downloaded using the Response inside the Success event handler of jQuery AJAX function.
18 Dec 2020 18 Dec 2020 1 Comments  27144 Views
Excel  AJAX  jQuery  Word  PDF
Here Mudassar Ahmed Khan has explained with an example, how to download file as BLOB using AJAX and jQuery.

The PDF file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) request and then will be sent for download in the Browser using jQuery.
17 Dec 2020 17 Dec 2020 0 Comments  22345 Views
AJAX  jQuery  PDF  XmlHttp
Here Mudassar Ahmed Khan has explained with an example, how to download PDF File on Button click using jQuery.

The PDF file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) and then will be sent for download in the Browser using jQuery.
09 Dec 2020 09 Dec 2020 1 Comments  19577 Views
ASP.Net  Excel  AJAX  jQuery  Word  PDF  Web Method
Here Mudassar Ahmed Khan has explained with an example, how to download File from Web Method via AJAX call in ASP.Net using C# and VB.Net.

The AJAX call will be done using jQuery AJAX function and the file will be converted to Base64 string and downloaded from Web Method in ASP.Net.
Results 101 - 120 of 808