Category - DropDownList
Results 16 - 20 of 89
15 May 2018 15 May 2018 0 Comments  3895 Views
Here Mudassar Ahmed Khan has explained with an example, how to call SelectedIndexChanged event of ASP.Net DropDownList using JavaScript and jQuery.

First the ASP.Net DropDownList will be referenced using JavaScript or jQuery on Client Side and then its SelectedIndexChanged event will be called by making use of the __doPostBack JavaScript function.
10 May 2018 10 May 2018 0 Comments  4110 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected Text and Value of DropDownList in ItemTemplate of Repeater Control on Button Click in ASP.Net using C# and VB.Net.

The DropDownList will be populated from database inside the OnItemDataBound event of the Repeater control in ASP.Net using C# and VB.Net.

Each Repeater Item has a Button and when the Button is clicked, the selected Text and Value of the DropDownList is fetched and displayed using JavaScript Alert Message Box.
04 May 2018 04 May 2018 0 Comments  3457 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList in ItemTemplate of Repeater Control in ASP.Net using C# and VB.Net.

The DropDownList will be populated from database inside the OnItemDataBound event of the Repeater control in ASP.Net using C# and VB.Net.
18 Apr 2018 18 Apr 2018 0 Comments  2811 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Generic HTTP Handler to display Binary Images from database in ASP.Net using C# and VB.Net.

The Binary Image will be fetched from database and then displayed in Image control with the help of Generic HTTP Handler in ASP.Net using C# and VB.Net.
14 Feb 2018 16 Jul 2018 0 Comments  8101 Views
Here Mudassar Ahmed Khan has explained with an example, how to get DropDownList Selected Text in Controller in ASP.Net MVC Razor.

The Selected Value of DropDownList is easily available using Model or using Request.Form collection, but in order to get the Selected Text, the Selected Text is copied to a Hidden Field using jQuery and then it is fetched inside Controller in ASP.Net MVC.
Results 16 - 20 of 89