I have a ASPX page with 2 controls. 1 is IFrame control thats being used to display PDF files, 1 ListBox control with the PDF filenames.
Right now the ASPX page is configured so that whenever the ListBox SelectedIndex changes, it will postback and load the corresponding PDF file to the IFrame. I have set the loading of filenames for ListBox to !PostBack so that I only load the filenames at the initial page_load.
The problem i have right now is that whenever user changes the selection in the listbox, I can see the ListBox is being re-rendered again becaues it went away then came back a second later.
Is there a way to render the page so that the ListBox will not be rendered everytime a SelectedIndex event is fired??
Thank you very much