Click here to Skip to main content
Licence 
First Posted 14 Aug 2005
Views 31,046
Bookmarked 18 times

Multiple Column List Box Custom Control

By | 14 Aug 2005 | Article
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

About the Author

ken_in_oz

Web Developer

Australia Australia

Member

I am a analyst programmer with MCSD letter, honours degree in Information Technology.
 
I am interesting in coding using VB .NET or C#

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralThank you for this! Pinmemberwillhawes15:03 4 Nov '09  
GeneralThis doesn't tell me anything PinmvpColin Angus Mackay22:33 11 Jan '07  
QuestionBind it to SQL Query PinmemberImparatorvolkan8:57 14 Nov '06  

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.

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