Category - DropDownList
Results 41 - 60 of 161
10 Apr 2020 10 Apr 2020 0 Comments  14907 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  13926 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  27843 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  38469 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  4453 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  12725 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  7624 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  36966 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  15701 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  15115 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  13005 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  2657 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  15321 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  10066 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  14788 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.
17 Oct 2019 17 Oct 2019 0 Comments  26579 Views
Here Mudassar Ahmed Khan has explained with an example, how to activate TextBox if another option is selected in DropDownBox using JavaScript and jQuery.

When the Other (option) in DropDownList is selected, the TextBox will be enabled else disabled.
11 Jul 2019 11 Jul 2019 0 Comments  22100 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide TextBox based on DropDownList selection in ASP.Net using C# and VB.Net.

When the YES item (option) is selected in the DropDownList, TextBox will be visible else the TextBox will be hidden in ASP.Net using C# and VB.Net.
11 Jul 2019 11 Jul 2019 0 Comments  6660 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable (activate) a TextBox when Other option is selected in DropDownList (HTML SELECT) using JavaScript and jQuery.
10 Jul 2019 10 Jul 2019 1 Comments  40908 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable a TextBox when DropDownList (HTML SELECT) is changed i.e. when an item (option) is selected using JavaScript and jQuery.

When the Other (option) in DropDownList is selected, the TextBox will be enabled else disabled.
13 Jun 2019 13 Jun 2019 0 Comments  36259 Views
Here Mudassar Ahmed Khan has explained with an example, how to avoid (Prevent) Page refresh (reload) after SelectedIndexChanged is fired in ASP.Net DropDownList using C# and VB.Net.

The only possible way is to place the DropDownList inside ASP.Net AJAX UpdatePanel so that, instead of Full PostBack which causes Page refresh (reload), a Partial PostBack will occur.
Results 41 - 60 of 161