Category - DropDownList
Results 41 - 60 of 166
12 Aug 2020 12 Aug 2020 0 Comments  29089 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  14055 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  19274 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  27222 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.
13 Apr 2020 13 Apr 2020 0 Comments  16574 Views
Here Mudassar Ahmed Khan has explained with an example, how to show Month and Year DropDown in jQuery DatePicker plugin.

The jQuery DatePicker plugin supports option to show Month and Year DropDowns and it can be enabled by setting the changeMonth and changeYear properties of the jQuery DatePicker plugin.
10 Apr 2020 10 Apr 2020 0 Comments  17781 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList from database using Entity Framework in ASP.Net Core MVC.

This article will also explain how to add Default Item (Blank Item) to DropDownList at First position when populating from database using Entity Framework in ASP.Net Core MVC.
02 Apr 2020 02 Apr 2020 1 Comments  15110 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate DropDownList inside Razor Pages in ASP.Net Core MVC.

Inside the Razor Page, the DropDownList will be created using SELECT Tag Helper and will be populated from Database using SelectList Model class in ASP.Net Core MVC.
02 Apr 2020 02 Apr 2020 0 Comments  35170 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected Value and selected Text of DropDownList in ASP.Net Core MVC.

When the Submit Button is clicked, the selected Value and selected Text of the DropDownList are fetched inside the Controller in ASP.Net Core MVC.
02 Apr 2020 02 Apr 2020 0 Comments  48277 Views
Here Mudassar Ahmed Khan has explained with an example, how to use SelectList class in ASP.Net Core MVC.

This article will illustrate how to use SelectList class as Model for populating DropDownList in ASP.Net Core MVC.
02 Apr 2020 02 Apr 2020 0 Comments  5271 Views
Here Mudassar Ahmed Khan has explained with an example, how to use SELECT Tag Helper in ASP.Net Core MVC.

This article will illustrate how to use Model class and SELECT Tag Helper for populating DropDownList in ASP.Net Core MVC.
01 Apr 2020 01 Apr 2020 0 Comments  16653 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) DropDownList without using Entity Framework in ASP.Net MVC Razor.

This article will illustrate how to use ADO.Net to connect with SQL Server Database and populate DropDownList from SQL Server Database in ASP.Net MVC Razor.
31 Mar 2020 31 Mar 2020 0 Comments  10116 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList using ADO.Net in ASP.Net Core MVC.

The records from the Database will be fetched from Database Table using ADO.Net into Model class object and then the Model is used to populate the DropDownList using the new ASP.Net Tag Helpers in ASP.Net Core MVC.
03 Mar 2020 03 Mar 2020 0 Comments  47687 Views
Here Mudassar Ahmed Khan has explained with an example, how to set selected value of DropDownList from Model (Database) using Entity Framework in ASP.Net MVC Razor.

Initially, the DropDownList will be populated from Database using Entity Framework and then the DropDownList item to be displayed as Selected will be set in Model and finally the Model will be used to populate the DropDownList in ASP.Net MVC Razor.
14 Dec 2019 14 Dec 2019 0 Comments  19499 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement dynamic Table with DropDownList in HTML using jQuery.

When the Add Button is clicked, a new Table Row with a DropDownList will be dynamically created and added to the HTML Table and when the Remove Button is clicked, the Table Row with DropDownList will be removed from the HTML Table using jQuery.
12 Dec 2019 12 Dec 2019 0 Comments  19107 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement dynamic Table with DropDownList in HTML using JavaScript.

When the Add Button is clicked, a new Table Row with a DropDownList will be dynamically created and added to the HTML Table and when the Remove Button is clicked, the Table Row with DropDownList will be removed from the HTML Table using JavaScript.
11 Dec 2019 11 Dec 2019 0 Comments  19102 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add (insert) OPTIONs to DropDownList (HTML SELECT) using jQuery.

Using a FOR loop, the items from Array will be added as OPTION to DropDownList (HTML SELECT) using jQuery.
10 Dec 2019 10 Dec 2019 0 Comments  5408 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically create DropDownList (HTML SELECT) in HTML using jQuery.

When the Add Button is clicked, a DropDownList will be dynamically created with OPTIONS and added to the Page using jQuery.
10 Dec 2019 10 Dec 2019 0 Comments  19133 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add Row with DropDownList (HTML SELECT) using jQuery.

When the Add Button is clicked, a new Row with DropDownList will be dynamically created and added to the Page and when the Remove Button is clicked, the Row with DropDownList will be removed using jQuery.
10 Dec 2019 10 Dec 2019 0 Comments  15194 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically create DropDownList (HTML SELECT) in HTML using JavaScript.

When the Add Button is clicked, a DropDownList will be dynamically created with OPTIONS and added to the Page using JavaScript.
10 Dec 2019 10 Dec 2019 0 Comments  17469 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add Row with DropDownList (HTML SELECT) using JavaScript.

When the Add Button is clicked, a new Row with DropDownList will be dynamically created and added to the Page and when the Remove Button is clicked, the Row with DropDownList will be removed using JavaScript.
Results 41 - 60 of 166