Click here to Skip to main content
12,506,338 members (56,982 online)
Click here to Skip to main content
Add your own
alternative version

Stats

36.7K views
743 downloads
18 bookmarked
Posted

Multiple Column List Box Custom Control

, 14 Aug 2005
Rate this:
Please Sign up or sign in to vote.
Multiple Column List Box Custom Control

Sample Image - Multi_Column_List_Box.jpg

Introduction

There have been many customer controls on Drop Down List with multiple columns, I haven't found a List box with Multiple Columns

Using the code

It's very simple to use the control, just need add reference to your project , include control tags on your page

use it as normal datagrid control. apply the datasource and bind it.

//
// <%@ Register TagPrefix="cc1" Namespace="MultiColList" Assembly="MultiColList" %>
//
//
// <cc1:mclistbox id="McList" runat="server" Width="100%"%>

McList.Text will return the value you selected.

This control use a SmartScroll control to keep scroll bar position after Post Back, so you need include StrengthControls.Scrolling dll in your project

History

* 12 Aug, 2005 - Version 1

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

ken_in_oz
Web Developer
Australia Australia
I am a analyst programmer with MCSD letter, honours degree in Information Technology.

I am interesting in coding using VB .NET or C#

You may also be interested in...

Pro
Pro

Comments and Discussions

 
GeneralThank you for this! Pin
willhawes4-Nov-09 15:03
memberwillhawes4-Nov-09 15:03 
GeneralThis doesn't tell me anything Pin
Colin Angus Mackay11-Jan-07 22:33
mvpColin Angus Mackay11-Jan-07 22:33 
QuestionBind it to SQL Query Pin
Imparatorvolkan14-Nov-06 8:57
memberImparatorvolkan14-Nov-06 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160927.1 | Last Updated 15 Aug 2005
Article Copyright 2005 by ken_in_oz
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid