Solved

Classic ASP, ActiveX picklist control - Replace in ASP.NET 2.0 Site

Posted on 2007-03-19
7
640 Views
Last Modified: 2013-11-07
We have an old classic ASP site. It uses an ActiveX picklist control.
I'm redevloping the site to bring it up to scratch and I'm using ASP.NET 2.0.

The ASP, ActiveX control displays a full list of club facilities (TV, Swimming Pool, Bar etc etc). Then the user can select 1 or multiple facilities in the left hand column and clicks a copy to right hand column button.
Then all the facilities in the righ hand column represents that clubs facilities.

I'm struggling to come up with a replacement for this picklist control in ASP.NET 2.0
Does anyone know if there is a control included in the framework that can do this kind of functionality or do you know of a better way of doing this?

Many Thanks, LK
0
Comment
Question by:leekey
  • 3
  • 2
7 Comments
 
LVL 16

Expert Comment

by:Edwin_C
ID: 18746945
What do you mean by "... clicks a copy to right hand column button. Then all the facilities in the righ hand column represents that clubs facilities"?

Do you simply want to allow users to select one or many items for a list?
0
 

Author Comment

by:leekey
ID: 18746969
This is an example of what is used.. However this example is .net 1.1
I beleive there is a better of doing this.
http://www.codeproject.com/aspnet/Picklist2.asp
0
 
LVL 7

Expert Comment

by:mem99999
ID: 18746979
Did you try these:
http://www.codeproject.com/aspnet/DblPanePickList.asp
http://www.codeproject.com/aspnet/Picklist2.asp

Is there a possibility to use checkboxlist instead?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 16

Expert Comment

by:Edwin_C
ID: 18747060
I understand now.  I haven't looked into the details of the quoted example but it looks complicated to me.  If it is not using ajax but need postback when transferring items from one side to another, it will be really annoying to see such flashing of the screen.

The closest control in ASP.NEt 2.0 is the checkboxlist.  If I were you, I will use a list of checkboxes to allow the users to pick.  You can group the choices in categories and format them in multiple columns using datalist.  It can be also looked great and is easier to implement.
0
 

Author Comment

by:leekey
ID: 18748960
Hi, Yes I like the idea of the checkboxlist. I've had a brief look at this and it seems as though it will do nicely for what I need to do.
Do either of you know of any good examples out there?
I've found a few but neither go into any depth or explain about saving these into selected boxes into a table.
Thanks, LK
0
 
LVL 16

Accepted Solution

by:
Edwin_C earned 500 total points
ID: 18749161
Checkboxlist is easy to be used.
Adding items to checkboxlist, see http://msdn2.microsoft.com/en-us/14atsyf5.aspx
Reading selections from the list, see http://msdn2.microsoft.com/en-us/a5kfekd2.aspx

You may also consider using the RowSelectedColumn of MetaBuilders.  http://www.metabuilders.com/Tools/RowSelectorColumn.aspx
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question