Solved

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

Posted on 2007-03-19
7
625 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now