Results 21 - 25 of 1990
16 Jan 2019 16 Jan 2019 0 Comments  863 Views
Here Mudassar Ahmed Khan has explained with an example, how to set MaxLength property for TextBoxes created using Html.TextBox and Html.TextBoxFor helper functions in ASP.Net MVC Razor.

The MaxLength for TextBoxes is set using the HTML MaxLength attribute using the HtmlAttributes parameter in Html.TextBox and Html.TextBoxFor helper functions.
16 Jan 2019 16 Jan 2019 0 Comments  919 Views
Here Mudassar Ahmed Khan has provided solution to the problem where value of the TextBox placed in GridView is lost after PostBack in ASP.Net with C# and VB.Net.

When PostBack happens i.e. when Button is clicked or any other control that does PostBack inside GridView, the GridView is again populated with data and hence the modified values in TextBox are lost.
09 Jan 2019 09 Jan 2019 0 Comments  841 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, the status of CheckBox i.e. whether the CheckBox is checked (selected) or unchecked (unselected) is displayed using JavaScript Alert Message Box with C# and VB.Net.
09 Jan 2019 09 Jan 2019 0 Comments  520 Views
Here Mudassar Ahmed Khan has explained with an example, how to display TextBox when CheckBox is checked in ASP.Net using C# and VB.Net.

The CheckBox will be assigned OnCheckChanged event handler and when the CheckBox is checked (selected), the TextBox will be displayed and when the CheckBox is unchecked (unselected) the TextBox will be hidden in ASP.Net using C# and VB.Net.
07 Jan 2019 07 Jan 2019 0 Comments  678 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using jQuery in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
Results 21 - 25 of 1990