Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi

 

i was just wondering is there a capacity on the dropdownlist

i have 2708 items in a drop down list and it seems to work fine

 

but when i post back to the page

the page just cuts short at the dropdownlist

 

i think its something got to do with the page trying to remember so much data

 

has anyone has similar experinces

is there any workarounds?

 

Regards

Shane

Posted

Hi,

 

I also think on the same line. I never came across the limitation of dropdown list box.

 

ASP.NET maintains state for each control on the page for which viewstate is set to TRUE. And for maintaing the viewstate the controls data is transferred from the webserver to client browser and vice versa.

 

So with the increase in amount of data transfer, the performance decreases.

 

HTH

Jitesh Sinha
Posted
Do you really need that many items in the list? What kind of data is the user selecting from?

It may be possible to categorise the data and present a couple of lists with fewer entries....

 

It is for a production line. The dropdownlist contains all the product codes that can be produced. Because the product codes are fairly ambiguous (i.e. "ar125-737") it was thought it better to put them all into a dropdown list so the user can�t make a mistake

 

However I agree that there are probably too many items to put into a dropdown list and I am now using a textbox and letting them enter it in manually. The page seems to work fine now so there must be a capacity on what asp.net can remember as regards dropdownlists.

 

Thanks for the replies

Shane

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...