Search results for query: *

  1. F

    Listbox TopIndex property

    i located it on the msdn library under the Listbox class.
  2. F

    Listbox TopIndex property

    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...
  3. F

    Listbox TopIndex property

    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...
  4. F

    Lifetime of shared variables

    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...
  5. F

    Lifetime of shared variables

    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...
  6. F

    DropdownList error - Cannot have multiple items selected in a dropdownlist

    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...
Back
Top