View the Selected item in Listbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pbala
    New Member
    • Dec 2008
    • 37

    View the Selected item in Listbox

    hi,
    I have the Listbox containing 250 items, when I selected 130th item and proceed with some operations. After that when i back to form, the selected items are same but i need to drag upto 130th item to view, what i have selected.

    Is there any method to show the last selected item while page load or refresh?
  • pbala
    New Member
    • Dec 2008
    • 37

    #2
    Set the Scroll position to View the Selected Items in Listbox.

    Listbox does not returns with the last selected items in view while page refresh.

    How to show the selected item in list box Without Scrolling to particular item?

    Comment

    • ThatThatGuy
      Recognized Expert Contributor
      • Jul 2009
      • 453

      #3
      There's a bit of confusion in my head going... on ...

      are you asking an asp.net question... then you should have posted this question in asp.net section...


      try setting the View state of the listbox to true....
      like set ListBox1.Enable ViewState=true;

      Comment

      • sanjib65
        New Member
        • Nov 2009
        • 102

        #4
        Have you tried anything in Page_Load()?

        Comment

        Working...