C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 05-17-2005, 07:07 AM   #1
Bios Raider
 
biosninja's Avatar
 
Join Date: Jul 2002
Location: South Africa
Posts: 765
Drop down list (combo box) limits

Hi there.

Is there a limit in the amount of rows that can be placed in a combo box in a HTML age in internet explorer?

We are having som probplems @ work and this is the only answer that I can come up with.

Can anyone please advise?

Thanks in advance.
__________________
The knack of flying is learning to throw yourself at the ground and miss.
biosninja is offline   Reply With Quote
Old 05-17-2005, 07:32 AM   #2
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,219
It would have to be a pretty large amount of data. What's your code?

And this belongs on the Tech board
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline   Reply With Quote
Old 05-18-2005, 12:29 AM   #3
Bios Raider
 
biosninja's Avatar
 
Join Date: Jul 2002
Location: South Africa
Posts: 765
We use a product called FYI by Identitech/Global 369. We use their components (integration server). We just create the form and and link it to the integration server.

We need to populate about 5000 + lines into the combo box at some times.

And the product is cgi. So Icant get anything form it...
__________________
The knack of flying is learning to throw yourself at the ground and miss.
biosninja is offline   Reply With Quote
Old 05-18-2005, 06:47 AM   #4
5|-|1+|-|34|)
 
ober's Avatar
 
Join Date: Aug 2001
Posts: 4,429
Using this small piece of code:
Code:
<select name="test">
<?php 
for($i=0;$i<2000000;$i++)
	echo "<option value='" . $i . "'>" . $i . "</option>";
?>
</select>
It appears that Opera craps out at 32768, IE is good for at least 200,000. Don't run the above code (2 million) because it brought my machine to a screaming halt.
ober is offline   Reply With Quote
Old 05-18-2005, 07:03 AM   #5
Bios Raider
 
biosninja's Avatar
 
Join Date: Jul 2002
Location: South Africa
Posts: 765
The problem is that we create the drop down list without any initial values. the Integration Server populates it at runtime via the cgi and the JDBC
__________________
The knack of flying is learning to throw yourself at the ground and miss.
biosninja is offline   Reply With Quote
Old 05-18-2005, 07:14 AM   #6
5|-|1+|-|34|)
 
ober's Avatar
 
Join Date: Aug 2001
Posts: 4,429
I don't see how that matters.
ober is offline   Reply With Quote
Old 05-18-2005, 10:50 AM   #7
PC Fixer-Upper
 
Waldo2k2's Avatar
 
Join Date: May 2002
Posts: 2,001
he's right, it doesn't matter. You're better off either finding another way to display the data (splitting into multiple drop downs should the number of items reach x), or coding your own browser. Those are about it.
__________________
PHP and XML
Let's talk about SAX
Waldo2k2 is offline   Reply With Quote
Old 05-19-2005, 03:18 AM   #8
Bios Raider
 
biosninja's Avatar
 
Join Date: Jul 2002
Location: South Africa
Posts: 765
I'm only allowed to use one dropdown for teh results.

Another thing (bug) I picked up with the software is that the Integration server can only populate to one drop down list at a time.....that sucks....

when the list is populated via thequery, I view the source, and there is no "option" tags within the select.
__________________
The knack of flying is learning to throw yourself at the ground and miss.
biosninja is offline   Reply With Quote
Old 05-19-2005, 05:58 AM   #9
5|-|1+|-|34|)
 
ober's Avatar
 
Join Date: Aug 2001
Posts: 4,429
I have no idea... something is screwed up in the code then. Why can't you do all the work yourself instead of passing it off to some other service?
ober is offline   Reply With Quote
Old 05-19-2005, 03:13 PM   #10
PC Fixer-Upper
 
Waldo2k2's Avatar
 
Join Date: May 2002
Posts: 2,001
If you bought the software tell them to fix their crap or get a refund and attempt it yourself/have someone else there do it. Your project seems pretty impossible at this point...and if you do find a workaround, it's going to be sloppy as hell.
__________________
PHP and XML
Let's talk about SAX
Waldo2k2 is offline   Reply With Quote
Old 05-20-2005, 06:13 AM   #11
Bios Raider
 
biosninja's Avatar
 
Join Date: Jul 2002
Location: South Africa
Posts: 765
I'll stick with their product at teh moment.

It's going to take me a WHILE to code a whole electronic document management sloution...
__________________
The knack of flying is learning to throw yourself at the ground and miss.
biosninja is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting linked list please help with CODE scarlet00014 C Programming 3 09-27-2008 11:24 PM
deleting a node in linked list BoneXXX C Programming 18 12-17-2007 12:30 PM
How can I traverse a huffman tree carrja99 C++ Programming 3 04-28-2003 05:46 PM
problem with structures and linked list Gkitty C Programming 6 12-12-2002 06:40 PM
Combo Box Extended Unregistered C++ Programming 1 11-15-2001 09:04 AM


All times are GMT -6. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22