Finally, a SelectedItems Option (yaaay)(iansuttle.com)

submitted by isuttleisuttle(1140) 4 years ago

The .NET framework does not include a way to get the selected items from a CheckBoxList, ListBox, DropDownList, or RadioButtonList, without iterating the Items collection. This post provides a generic extension method for retrieving the selected items from any ListControl.

1 comment |category: |Views: 182

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by jessejesse(100) 4 years ago 0

With all the other crap MS went through to harmonize WebForms with WinForms, I'm surprised that the ASP.NET team didn't notice this was on the WinForms list controls.

Reply

information Login or create an account to comment on this story