65.9K
CodeProject is changing. Read more.
Home

PickList 2.0

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.02/5 (17 votes)

Feb 17, 2005

viewsIcon

98743

downloadIcon

777

Updated version of Drieske's PickList.

Sample Image - Picklist2.gif

Introduction

This is an update to Drieske's Picklist. This code has the following updates and features.

  • Double click support for moving items from the left to right listbox and vice-versa. Works in IE and Firefox browsers.
  • Added CopyItemLeft and CopyItemRight. These options appear in Visual Studio design mode properties. These properties allow the items to be copied over from the left to the right or vice-versa.

    Note: only set one of these properties to true, not both.

  • AllButtons property which appears also in design mode enables or disables the move all items left and move all items right buttons.
  • IsMoveItemLeft and IsMoveItemRight allows you to move the items up and down the listbox without Postback.
  • Image button support by setting the ImageAllLeft, ImageAllRight, ImageLeft, or ImageRight, you can apply an image instead of the text button (and also the move up/down button). There's no width or height settings.
  • Fix for Firefox suggested by M6rk (see the forum in PickList) to change ':' to '_' in the id.