asp.net - Listbox values are persisting across postbacks -
i having listbox in asp.net. populating listbox values listbox in page dynamically. during postbacks values of output listbox not persisted. (while going page , come page).
please suggest answer. enableviewstate = "true" not working.
are doing in page_load should in
if(!ispostback) {}
initialization code in load needs called when page first loaded, not on postbacks.
if going page , coming page, think need preserve information in session , restore when come page.
Comments
Post a Comment