Category - TextBox
Results 1 - 20 of 187
24 Dec 2021 24 Dec 2021 0 Comments  708 Views
Here Mudassar Khan has explained with an example, how to display TextBox value in Label using jQuery.

When the Button is clicked, the TextBox value is retrieved and displayed in the Label using jQuery.
28 Oct 2021 28 Oct 2021 0 Comments  2332 Views
Here Mudassar Ahmed Khan has explained with an example, how to display TextBox value in JavaScript Alert Box using jQuery.

When the Button is clicked, the TextBox value is displayed in the JavaScript Alert Box.
26 May 2021 26 May 2021 0 Comments  3023 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement search as you type in ASP.Net MVC Razor.

Search as you type means, the records in the Grid will be filtered as user types in the TextBox with the help of jQuery AJAX in ASP.Net MVC Razor.
30 Dec 2020 30 Dec 2020 0 Comments  4554 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.
30 Dec 2020 30 Dec 2020 0 Comments  1940 Views
Here Mudassar Ahmed Khan has explained with an example, how to remove White Space from beginning (start) and end of string using JavaScript.

When the Remove Button is clicked, a JavaScript function is called and the whitespace is removed from beginning (start) and end of the TextBox value using JavaScript.
26 Dec 2020 26 Dec 2020 0 Comments  4837 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
26 Dec 2020 26 Dec 2020 0 Comments  8201 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate TextBox on Button Click using JavaScript.

When the Validate Button is clicked, a JavaScript function 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  4945 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.
24 Dec 2020 24 Dec 2020 0 Comments  7383 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if TextBox is Empty using JavaScript.

When the Validate Button is clicked, a JavaScript function 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.
22 Oct 2020 22 Oct 2020 1 Comments  17551 Views
Here Mudassar Ahmed Khan has explained with an example, how to trigger TextBox OnBlur event on Server Side (Code-Behind) in ASP.Net with C# and VB.Net.

By default, there is no Server Side OnBlur event and the only similar event is provided by ASP.Net is TextChanged event but TextChanged event fires only when Text is changed while OnBlur event fires when Focus is lost despite whether Text is changed or not.
21 Oct 2020 21 Oct 2020 0 Comments  23080 Views
Here Mudassar Ahmed Khan has explained with an example, how to show hide Password using EYE Icon in TextBox with jQuery.

The EYE Icon will be created using Font-Awesome Fonts and will be displayed next to TextBox.

When the EYE Icon is clicked, the TextBox will be toggled from Password TextBox to a Normal TextBox and vice versa respectively showing and hiding the Password Text.
15 Oct 2020 15 Oct 2020 0 Comments  20813 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Bootstrap DatePicker (Calendar) in ASP.Net Core Razor Pages.

This article will also illustrate how to get the selected Date of the Bootstrap DatePicker (Calendar) inside Controller on Button click in ASP.Net Core Razor Pages.

The Date format for the selected Date will be set to dd/MM/yyyy format.
29 Aug 2020 29 Aug 2020 2 Comments  14669 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement jQuery AutoComplete TextBox in ASP.Net Core MVC.

The jQuery AutoComplete TextBox data will be populated from database using Entity Framework in ASP.Net Core MVC.
29 Aug 2020 29 Aug 2020 0 Comments  18399 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement jQuery AutoComplete in ASP.Net Core Razor Pages.

The jQuery AutoComplete TextBox data will be populated from SQL Server database using Entity Framework in ASP.Net Core Razor Pages.
25 Aug 2020 25 Aug 2020 0 Comments  3658 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Server Side TextBox Validation using Model in ASP.Net MVC Razor.

The Server Side validations will be performed using Model class and Data Annotation attributes in ASP.Net MVC Razor.
21 Aug 2020 21 Aug 2020 0 Comments  2529 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement TextBox Validation using Model in ASP.Net MVC Razor.

The Client Side validations will be performed using Model class and Data Annotation attributes in ASP.Net MVC Razor.
21 Aug 2020 21 Aug 2020 0 Comments  5141 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Client Side TextBox validations without using Model in ASP.Net MVC Razor.
The Client Side validations will be performed using jQuery obtrusive validation library in ASP.Net MVC Razor.
13 May 2020 13 May 2020 0 Comments  17557 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Bootstrap DatePicker (Calendar) in ASP.Net Core MVC.

This article will also illustrate how to get the selected Date of the Bootstrap DatePicker (Calendar) inside Controller on Button click in ASP.Net Core MVC.

The Date format for the selected Date will be set to dd/MM/yyyy format.
21 Apr 2020 21 Apr 2020 0 Comments  12753 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Year Range in Year DropDown of jQuery DatePicker (Calendar) plugin.

The jQuery DatePicker (Calendar) plugin has a property yearRange which can be used to set the different Year ranges for the Year DropDown.
19 Apr 2020 19 Apr 2020 0 Comments  19122 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Date of Birth (Age) validation with jQuery DatePicker (Calendar) plugin.

When a Date is selected in jQuery DatePicker (Calendar), the onSelect event is raised and inside the onSelect event handler the validation for Date of Birth (Age) is performed.

This article will perform minimum 18 years of Age validation and the Age will be calculated using the Date selected in the jQuery DatePicker (Calendar).
Results 1 - 20 of 187