473,734 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Select Boxes and Submenus - Help!!

Im looking for some help or ideas on which way to go with asp page I am
developing..

I have a page with 5 different Main Category Dropdowns, and each of the 5
main categories, can have at least 5 sub-categories..My problem

As I am creating the page, I have the 5 Main Category Select boxes listed,
but when a user chooses a main category, they then must choose the sub
categories also, so I thought about using an onchange event, but I also need
to consider if when the person goes to edit that product, what will be the
easiest options..

Any ideas?? previous experiences?

Archi3
Jul 19 '05 #1
2 1470
http://www.aspfaq.com/2270

The infinitemonkeys link needs to be updated; see this link instead:
http://www.readthefuckingmanual.co.u...script/997.asp

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Archi3" <ar****@archive nture.net> wrote in message
news:3f******** @news.greennet. net...
Im looking for some help or ideas on which way to go with asp page I am
developing..

I have a page with 5 different Main Category Dropdowns, and each of the 5
main categories, can have at least 5 sub-categories..My problem

As I am creating the page, I have the 5 Main Category Select boxes listed,
but when a user chooses a main category, they then must choose the sub
categories also, so I thought about using an onchange event, but I also need to consider if when the person goes to edit that product, what will be the
easiest options..

Any ideas?? previous experiences?

Archi3

Jul 19 '05 #2
"Archi3" wrote ...
Any ideas?? previous experiences?


Hi Archie,

I'm not a huge fan of drop down boxes, for a couple of reasons the main one
being that its VERY easy for a user to select what they want, and then by
accidentally hitting the mouse or whatever something else being selected.

If you have multiple select boxes on a page I would suggest no more than 2
unless you are doing some kind of consumer review form or something (which
it doesnt sound like you are) - keep it simple, keep it easy.

Drop downs that are related to each other will need to have client side
script running, I've got something written at work that uses 3 drop downs
that relate to each selection etc (in our case here Organisation > Site >
Location) - the downside of this is that we have to pull ALL of the data
items from the database initially, we're using Javascript to match up
selections with the onchange events, but if you have a huge data selection I
would not recommend this approach as it delays page load times whilst all
the data items are read into the page one by one.

I'm all for choice - but primarily aim at making things easier for the
user - only by playing with different alternatives will you find the one
that works best for you and your solution.

Good luck!

Incidentally - for the javascript try
http://www.js-examples.com/example/?ex=683&mode=2

Regards

Rob
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1829
by: Simon Finn | last post by:
Hi I have used ASP code to load data into two select boxes. The code below is used to move the selected data back and forth between the boxes. I am having problems retreving the data from the boxes after the user has moved any of the data: If the data has been moved by the below code; when i try and load the data back into the database i cannot retrieve the data using:
4
6447
by: point | last post by:
Hello there... I'm a PHP programmer and starting to learn JS... I have a following problem.... I have 3 select boxes! one is hotel one is destination and one is country... if someone clicks selects the country then the destination select box shows the destinations in that country and further if he chooses destination all
1
2247
by: Jeff Thies | last post by:
I have 10 select boxes, they have select values of 1 to 10 (one of each value). I'd like to be able to change one of the select boxes and have the rest reorder themselves accordingly. I thought this would be simple, as the values of the other select boxes are either incremented up (if going from a smaller value to a larger) or incremented down over the range of the old value to (and including) the new value.
2
6083
by: Thomas Damgaard | last post by:
Hi, I need to have two <SELECT> boxes: "brand" and "model". The user should first select brand. Then the other select box should contain the options dependend of what user chose in "brand". I figure this is something with making some arrays containing models or something. Do any of you have an example of how this can be done? I have tried to google for it, but dont really know what to search for, so I get lousy results :( --
5
2387
by: callmebill | last post by:
I'm relatively new to javascript, and I'm trying to decide whether the following (and if so, clues on how to do it): I'd like to create two HTML multiple-select boxes. The first would be a list of items, and the second would be a list of categories. By clicking a category in the 2nd box, the members of that category (from the first box) would be highlighted (indicated here by arrows). E.g., -- List of Nums -- -- Categories -- 1...
0
980
by: Galina | last post by:
Hello I have an asp page, which is designed to allow selection from 5 interdependant select boxes. User selects and submits. A database is queried with selected values as parameters and another page based on the query results is displayed. All works fine. When User clicks the button "Back" in browser to return to the first form, only the 1st check box has the same value. The 2nd one has the first item in the list instead of what was...
2
3107
by: murraymiken | last post by:
I'm looking to have multiple multiple-select-boxes on a page. But I can only get the contents from the last selected value within a box, via PHP. I've tried numerous methods. What am I doing wrong? You can see ALL the values present in the url: http://myserver/test.php?notify_user_id%5B2%5D=1&notify_user_id%5B2%5D=2&notify_user_id%5B4%5D=2&notify_user_id%5B4%5D=3&notify_user_id%5B4%5D=4&notify_user_id%5B6%5D=4&btn_updcats=Update e.g. ...
2
8423
by: simon.wilkinson | last post by:
Hi, I am trying to update all Select boxes on a page dynamically using javascript, I simple want to change the selected item in each select box when a tick box is pressed on the page. Each Select box is named in the same convention ie. ddl_DeliveryStatus_ and then the recordID and contains the same options in the same order. The number of select boxes changes every time the page is loaded as this is all built using ASP linked to a...
2
1348
by: Erich93063 | last post by:
I have a form with about 40 select boxes that are pre selected with selections based on some passed data. What is a quick and easy way to have a link on the page where when I click on it, it forces ALL of the select boxes back to their default state selecting the first option in the list which has a value of "" and the display value is "SELECT". I basically want to reset them all. ?? THANKS
0
8776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9236
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.