The thing is, when a user selects items in the listbox (its set with selectionmode = "multiple") it does a postback in the selectedIndexChanged handler to do some calculations. After the postback the listbox view is set to the top of the list instead of showing the selected item.
So i am not...
Hi,
I'm using ASP.NET 2.0 and was wondering what happened with the TopIndex property for the Listbox class that sets the index of the first visible item in the ListBox. Is it no longer a property as it does not appear in the list of properties and methods in Visual Studios and has a compilation...
hmm yes i had the same thoughts as you but this has led me baffled....
what about the objects within the array... they are just string objects that i add to the list and so only the arrayList is referencing them. Will garbage collection clean those?
Is there a way of ensuring the lifetime of...
Hi,
I have created an ArrayList in my page as shared as it stores information for items in a listbox i have.
This works fine however, when the page is idle say for more than 10 minutes, the array automatically reduces itself in size and loses a lot of the data leading to index out of bounds...
Hi,
I have a dropdown and a listbox. The dropdown is used to populate the listbox by inserting values after the current listitem. After an insertion, I wish the dropdown to reset back to the top selection and the selection in the listbox to highlight the recently added field.
For a complete...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.