ListBox and Postback

M

Mike

Hello,

In my page, there are a few listboxes. Whenever the user changes an item a postback occurs, thus the page is refreshed. This is not very user-friendly. I would like to know if there is a way to avoid this postbacks and retrieve the "SelectedItem" or "SelectedValue" when the page is reloaded (I have a button that saves some of the page's content).

Thanks
Mike
 
P

Paul Glavich [MVP - ASP.NET]

Set the 'AutoPostback' attribute of the control to false.

--
- Paul Glavich
Microsoft MVP - ASP.NET



Hello,

In my page, there are a few listboxes. Whenever the user changes an item a postback occurs, thus the page is refreshed. This is not very user-friendly. I would like to know if there is a way to avoid this postbacks and retrieve the "SelectedItem" or "SelectedValue" when the page is reloaded (I have a button that saves some of the page's content).

Thanks
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top