Category - DropDownList
Results 1 - 5 of 105
11 Jul 2019 11 Jul 2019 0 Comments  2164 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  1284 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 0 Comments  1246 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  3261 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.
12 Jun 2019 12 Jun 2019 0 Comments  5817 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Selected Value from DropDownList in GridView in ASP.Net using C# and VB.Net.

The DropDownList inside GridView will be assigned with an OnSelectedIndexChanged event handler and when an Item is selected in the DropDownList, the Selected Value is displayed using JavaScript Alert Message Box.
Results 1 - 5 of 105