Server Migration causing loss of data on PostBack

M

mrobins

I recently migrated my asp.net 1.1 web project to a new web server and
whenever my page posts back, I lose the value in several of my fields.
I know the problem applies specifically to databound objects like Drop
Down Lists, CheckBoxLists and RadioButtonLists. When you push the back
button, all the databound options are gone.

I do bind these objects in an if (! IsPostBack) statement in my
Page_Load function and my pages have ViewState enabled.

Everything worked perfectly on my old server but now things are going
haywire. Is there a global setting or server configuration setting
that affects ViewState or state values on PostBack?

Any help will be greatly appreciated.

Matthew Robins
 

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