07 Dec 2018 07 Dec 2018 0 Comments  61 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  60 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  93 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  133 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  111 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  95 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  183 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  221 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  155 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  230 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  291 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  227 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  385 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  369 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  332 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  358 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  456 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  372 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  359 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.
23 Nov 2018 23 Nov 2018 0 Comments  289 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using ViewBag in ASP.Net MVC Razor.

This article will illustrate how to use ViewBag to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  379 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from Controller to View using Form Collection in ASP.Net MVC Razor.

This article will also illustrate how to get values of TextBox created using Html.TextBox helper function and the HTML INPUT TextBox element using Form Collection inside Controller in ASP.Net MVC Razor.

Form Collection 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  311 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Form Collection and Model values same time to Controller in ASP.Net MVC Razor.

This article will also illustrate how to get values of TextBox created using Html.TextBox helper function using Form Collection and the TextBox created using Html.TextBoxFor helper function using Model inside Controller in ASP.Net MVC Razor.
22 Nov 2018 22 Nov 2018 0 Comments  322 Views
MVC
Here Mudassar Ahmed Khan has explained with an example, how to read values of Hidden Field created using Html.Hidden and Html.HiddenFor helper functions in Controller in ASP.Net MVC Razor.

The value of the Hidden Field created using Html.HiddenFor helper function is read using Model class object while the value of Hidden Field created using Html.Hidden helper function is read using Request.Form collection in ASP.Net MVC Razor.
22 Nov 2018 22 Nov 2018 0 Comments  287 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Hidden Field value from View to Controller in ASP.Net MVC Razor.

This article will illustrate how to pass (send) values of Hidden Field created using Html.HiddenFor and Html.Hidden helper functions in ASP.Net MVC Razor.
22 Nov 2018 22 Nov 2018 0 Comments  322 Views
ASP.Net  HTML  MVC
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) ViewBag value to Hidden Field in ASP.Net MVC Razor.

The ViewBag object value will be set inside Controller and then inside the View, the value will be assigned to the Hidden Field created using Html.Hidden helper function in ASP.Net MVC Razor.