Click here to Skip to main content
Click here to Skip to main content
Go to top

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#

Comments and Discussions

 
GeneralThank you for this! Pinmemberwillhawes4-Nov-09 15:03 
GeneralThis doesn't tell me anything PinmvpColin Angus Mackay11-Jan-07 22:33 
QuestionBind it to SQL Query PinmemberImparatorvolkan14-Nov-06 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web03 | 2.8.140926.1 | Last Updated 15 Aug 2005
Article Copyright 2005 by ken_in_oz
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid