Solved

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

Posted on 2007-03-19
7
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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