12 Dec 2018 12 Dec 2018 0 Comments  70 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable Button when text is entered in TextBox using AngularJS.

This article will illustrate how to enable Button when text is entered in TextBox using ng-disabled and ng-keyup directives in AngularJS.
12 Dec 2018 12 Dec 2018 0 Comments  62 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers in TextBox using Regular Expressions in AngularJS.

The AlphaNumeric validation will be performed with the help of ngPatternRestrict module which uses Regular Expressions for restricting characters in TextBox in AngularJS.
11 Dec 2018 11 Dec 2018 0 Comments  153 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable Button from Controller in AngularJS.

This article will illustrate how to enable or disable Button inside Controller using ng-disabled directive in AngularJS.
11 Dec 2018 11 Dec 2018 0 Comments  129 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable Button based on condition (IF ELSE) in AngularJS.

This article will illustrate how to enable or disable Button using ng-disabled directive by conditionally setting it using a Boolean variable inside Controller in AngularJS.
11 Dec 2018 11 Dec 2018 0 Comments  150 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable Button based on TextBox (INPUT) value using AngularJS.

This article will illustrate how to enable or disable Button (Submit Button) on KeyUp event of TextBox (INPUT) using the ng-keyup and ng-disabled directive in AngularJS.
10 Dec 2018 10 Dec 2018 0 Comments  152 Views
Here Mudassar Ahmed Khan has explained with an example, how to disable Button after Click using AngularJS.

This article will illustrate how to disable Button after Click using the ng-disabled directive in AngularJS.
07 Dec 2018 07 Dec 2018 0 Comments  190 Views
Here Mudassar Ahmed Khan has explained with example, how to use ng-disabled directive with condition (IF ELSE) in AngularJS.

This article will illustrate how to enable or disable TextBox on CheckBox click i.e. checked – unchecked using ng-disabled directive by conditionally setting it using a Boolean variable inside Controller.
07 Dec 2018 07 Dec 2018 0 Comments  177 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use the ng-disabled directive in AngularJS.

This article will illustrate how to enable or disable TextBox on CheckBox click i.e. checked – unchecked or selected – unselected using ng-disabled directive in AngularJS.
07 Dec 2018 07 Dec 2018 0 Comments  211 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox using AngularJS.

This article will illustrate how to enable or disable TextBox on CheckBox click i.e. checked – unchecked or selected – unselected using ng-disabled directive in AngularJS.
06 Dec 2018 07 Dec 2018 2 Comments  228 Views
Here Mudassar Ahmed Khan has explained how to use ng-show directive with condition (IF ELSE) in AngularJS.

This article will illustrate how to show or hide HTML DIV on CheckBox click using ng-show directive by conditionally setting it using a Boolean variable inside Controller.
06 Dec 2018 06 Dec 2018 0 Comments  226 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox based on condition in ASP.Net MVC Razor.

A Boolean value will be stored in a ViewBag object based on some condition inside the Controller’s Action method and the value of the ViewBag object will be used to enable or disable the TextBox in View.
06 Dec 2018 06 Dec 2018 0 Comments  215 Views
Here Mudassar Ahmed Khan has explained with an example, how to make CheckBox ReadOnly in ASP.Net with C# and VB.Net.

By default, ASP.Net CheckBox cannot be made ReadOnly and hence using JavaScript it is made Non-Clickable.
05 Dec 2018 05 Dec 2018 0 Comments  238 Views
Here Mudassar Ahmed Khan has explained with an example, the difference between ReadOnly and Disabled attributes in HTML.

The ReadOnly and Disabled attributes though work in same manner i.e. restrict the User from inputting data in the Form elements in HTML, there are still differences in both.
04 Dec 2018 04 Dec 2018 0 Comments  286 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Label value inside Controller in ASP.Net MVC Razor.

This article will illustrate how to set value of Label in ViewBag object inside Controller and later use the ViewBag object to set value in Label inside View in ASP.Net MVC Razor.
04 Dec 2018 04 Dec 2018 0 Comments  218 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) ViewBag value in Label in ASP.Net MVC Razor.

This article will illustrate how to use ViewBag to set value in Label created using Html.Label helper function in ASP.Net MVC Razor.
03 Dec 2018 03 Dec 2018 0 Comments  291 Views
Here Mudassar Ahmed Khan has explained with an example, how to set value of Hidden Fields created using Html.Hidden and Html.HiddenFor helper functions using jQuery in ASP.Net MVC Razor.

This article will also illustrate how to get values of Hidden Fields created using Html.Hidden and Html.HiddenFor helper functions and set using jQuery in View inside Controller in ASP.Net MVC Razor.
30 Nov 2018 30 Nov 2018 0 Comments  341 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Object from View to Controller in ASP.Net MVC Razor.

This article will explain how to create Form Fields using Model class and then pass (send) Model object from View to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.
30 Nov 2018 30 Nov 2018 0 Comments  266 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign ViewBag value to TextBox in ASP.Net MVC Razor.

This article will illustrate how to assign ViewBag value to TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
27 Nov 2018 27 Nov 2018 0 Comments  447 Views
ASP.Net  MVC  Form  Model
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Model to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.

This article will explain how to create Form Fields using Model class and then pass (send) Model data to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.
27 Nov 2018 27 Nov 2018 0 Comments  411 Views
ASP.Net  MVC  Form  Model
Here Mudassar Ahmed Khan has explained with an example, how to POST (Submit) a Form without using Model in ASP.Net MVC Razor.

This article will illustrate how to POST (Submit) a Form using Html.BeginForm helper function and Form Collection in ASP.Net MVC Razor.
27 Nov 2018 27 Nov 2018 0 Comments  385 Views
Here Mudassar Ahmed Khan has explained with an example, how to make TextBoxes created using Html.TextBox and Html.TextBoxFor helper functions ReadOnly i.e. not editable in ASP.Net MVC Razor.

The TextBoxes can be made ReadOnly by setting the HTML ReadOnly attribute using the HtmlAttributes parameter in Html.TextBox and Html.TextBoxFor helper functions.
26 Nov 2018 26 Nov 2018 0 Comments  399 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Hidden Field value inside Controller in ASP.Net MVC Razor.

This article will illustrate how to set value of Hidden Field created using Html.Hidden helper function using ViewBag object in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  503 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) values from FormCollection inside Controller in ASP.Net MVC Razor.

FormCollection is a Key-Value pair collection and the value of each submitted Form field can be accessed using its Name attribute value.
23 Nov 2018 23 Nov 2018 0 Comments  415 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using TempData in ASP.Net MVC Razor.

This article will illustrate how to use TempData to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  393 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using ViewData in ASP.Net MVC Razor.

This article will illustrate how to use ViewData to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.