Dropdownlist in asp.net Part 16



Dropdownlist in asp.net Part 16

Dropdownlist in asp.net   Part 16

Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/10/dropdownlist-in-aspnet-part-16.html

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1

Slides
http://csharp-video-tutorials.blogspot.com/2013/08/part-16-dropdownlist-control.html

All ASP .NET Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html

All ASP .NET Slides
http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html

All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd

All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists

In this video we will learn about
1. Adding items to the DropDownList control at design time using the HTML

2. Adding items to the DropDownList control at runtime using the code

3. DropDownList is a collection of ListItem objects

4. The ListItems can be added to the DropDownList at the design time or at the runtime

5. If you want a specific listitem to be selected in the dropdownlist, set the Selected property of the ListItem object to true.

6. To hide a ListItem in the DropDownList, set the Enabled property to False.

7. If you are adding listitem objects, to the DropDownList in the Page_Load event, make sure you do only when the page is loaded for the first time. Otherwise, every time, you post the page back, by clicking a button, the list items will be added again causing duplication.

8. A DropDownList is a collection of ListItem objects. Along the same lines, the following controls are also a collection of ListItem objects. So, adding items to these controls is also very similar to DropDownList.
CheckBoxList, RadioButtonList, BulletedList, ListBox

Comments are closed.