scroll asp list box to show item selected in code

morpepinurstep

New Member
i've textbox button and listboxi use the text to add items to listbox if the adding occured correctly in the code i make the newly added item selected.the problem is that after the page postback the listbox shows the top items and i want it to scroll to show the new item i just added.can anybody help me how to do that either by code or javascript..i did try many functions in javascript but they did'nt work... mybe because the selection has been made by code not buy clinthelp me plzzzzby the way.... my listbox is located in an accordion and when i useClientScript.RegisterStartupScript() method it does work and the listbox scroll to the newly added item but the accordion that contain the listbox is collapsedany idea plzzzzz
 
Back
Top