Category - DropDownList
Results 21 - 25 of 147
21 Nov 2020 21 Nov 2020 0 Comments  2975 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and displaying in DropDownList in ASP.Net MVC Core.

The records from the SQL Server Database will be retrieved from Table using ADO.Net into Model class object and then the Model is used to display the data in the DropDownList in ASP.Net Core MVC.
12 Aug 2020 12 Aug 2020 0 Comments  3992 Views
Here Mudassar Ahmed Khan has explained with an example, how to use RequiredFieldValidator for DropDownList in ASP.Net.
RequiredFieldValidator is used to validate required inputs, for TextBoxes it is plug and play but for DropDownList an additional property InitialValue needs to be set in ASP.Net.
In the InitialValue property, the value of the Default DropDownList Item needs to be set.
13 Jun 2020 13 Jun 2020 0 Comments  3842 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cascading (Dependent) DropDownList without using Entity Framework in ASP.Net MVC Razor.

The Cascading (Dependent) DropDownList will be implemented using ADO.Net and jQuery AJAX in ASP.Net MVC Razor.
13 Jun 2020 13 Jun 2020 0 Comments  2896 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cascading (Dependent) DropDownList in ASP.Net MVC Razor.

The Cascading (Dependent) DropDownList will be implemented using Entity Framework in ASP.Net MVC Razor.
21 Apr 2020 21 Apr 2020 0 Comments  6680 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.
Results 21 - 25 of 147