Category - AngularJS
Results 1 - 20 of 157
21 Aug 2021 25 Apr 2022 0 Comments  4550 Views
ASP.Net  AJAX  AngularJS  MVC  Core
Here Mudassar Khan has explained with an example, how to send AntiForgeryToken with AngularJS AJAX request in ASP.Net Core MVC.

The AntiForgeryToken is used to prevent cross-site request forgery (CSRF) attacks and this article will illustrate how to configure and use the AntiForgeryToken during AngularJS AJAX request in ASP.Net Core MVC.
10 Aug 2021 10 Aug 2021 0 Comments  3173 Views
Here Mudassar Ahmed Khan has explained with an example, how to get MIME Type (Content Type) of a File in AngularJS.
29 Jul 2021 29 Jul 2021 0 Comments  2977 Views
ASP.Net  AJAX  JSON  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS, AJAX and JSON in ASP.Net Core MVC.

This article will illustrate how to call Controller’s Action method using AngularJS $http service from View in ASP.Net Core MVC.
10 Apr 2020 10 Apr 2020 0 Comments  8398 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Age range validation (Number range validation) in AngularJS.

The Age range i.e. 18 to 60 years will be validated using AngularJS Form Validation for TextBox and ng-pattern directive in AngularJS.
05 Mar 2020 05 Mar 2020 0 Comments  14881 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable Button when CheckBox is checked or unchecked in AngularJS.

This article will illustrate how to enable or disable Button on CheckBox click i.e. checked – unchecked or selected – unselected using ng-disabled directive in AngularJS.
26 Jul 2019 26 Jul 2019 0 Comments  11415 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV from Controller in AngularJS.

When the Button is clicked, a Boolean variable will be set inside the Controller and the HTML DIV will be shown using ng-show and ng-hide directives and when again the same Button is clicked, again the same Boolean variable will be set inside the Controller and the HTML DIV will be hidden using ng-show and ng-hide directives in AngularJS.
08 Jul 2019 08 Jul 2019 0 Comments  20642 Views
Here Mudassar Ahmed Khan has explained with an example, how to disable Submit Button when INPUT Text Field (TextBox) is empty in AngularJS.

When using AngularJS Form validation, the $invalid property can be used to disable the Submit Button when Form is not filled (empty) i.e. the INPUT Text Fields (TextBoxes) have invalid data.
08 Jul 2019 08 Jul 2019 1 Comments  12746 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Form validation in AngularJS.

This article will illustrate how to perform Form Validation for TextBox INPUTS for validating Name, Email Address and Age, etc. on click of Submit Button in AngularJS.
05 Jul 2019 08 Jul 2019 0 Comments  2849 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation inside Controller in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.

The Regular Expression for Email validation will be set inside Controller in AngularJS.
04 Jul 2019 04 Jul 2019 0 Comments  9678 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement at-least one CheckBox required validation in AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is required to be checked from the Group of CheckBoxes using AngularJS.
02 Jul 2019 02 Jul 2019 1 Comments  9192 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use the ng-pattern directive in AngularJS.

The ng-pattern directive is used to validate the user input for the invalid characters with the help of Regular Expression patterns in AngularJS.
02 Jul 2019 08 Jul 2019 2 Comments  7460 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.
27 Jun 2019 27 Jun 2019 0 Comments  1757 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of RadioButtons (Multiple RadioButtons) using AngularJS.

When the Submit Button is clicked, the Model for each RadioButton in the Group will be referenced and using FOR loop, it will be validated that one RadioButton is checked from the Group of RadioButtons using AngularJS.
26 Jun 2019 26 Jun 2019 0 Comments  5347 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using AngularJS.
15 May 2019 15 May 2019 0 Comments  4461 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the ngStorage module in AngularJS.

The ngStorage module is used to save and retrieve data from HTML5 LocalStorage and SessionStorage objects using AngularJS.
15 May 2019 15 May 2019 0 Comments  7032 Views
Here Mudassar Ahmed Khan has explained with an example, how to save and retrieve data from HTML5 LocalStorage and SessionStorage objects using AngularJS.
01 May 2019 01 May 2019 0 Comments  12582 Views
Here Mudassar Ahmed Khan has explained with an example, how to read QueryString parameters in AngularJS.

There is no direct function or utility available to read QueryString parameter values in AngularJS.

This article will illustrate how to parse the URL of the page and then extract the QueryString parameter values using JavaScript and AngularJS.
12 Apr 2019 12 Apr 2019 0 Comments  10914 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete TextBox using AngularJS in ASP.Net MVC Razor.

This article will illustrate how to use angucomplete-alt AutoComplete Directive for implementing Database driven AutoComplete TextBox using AngularJS and Entity Framework in ASP.Net MVC Razor.
11 Apr 2019 11 Apr 2019 0 Comments  6911 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete TextBox using AngularJS in ASP.Net Web Forms using C# and VB.Net.

This article will illustrate how to use angucomplete-alt AutoComplete Directive for implementing Database driven AutoComplete TextBox using AngularJS in ASP.Net Web Forms with C# and VB.Net.
04 Apr 2019 04 Apr 2019 0 Comments  10967 Views
Here Mudassar Ahmed Khan has explained with an example, how to print DIV contents with CSS using AngularJS.

This article will illustrate how to print DIV contents with styles in external CSS file without opening new window in AngularJS.
Results 1 - 20 of 157