By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,292 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,292 IT Pros & Developers. It's quick & easy.

Drop-Down List forgets values in Windows 2003

P: n/a
Hi,

got a drop-down list on a windows form in VS.NET2003.

In the form load when NOT a postback, we add four values to the drop-down
list. These appear in Internet Explorer.

When you click a button on the form, the value selected in the drop-down is
supposed to be put in a label's Text property. However, when you click the
button, the page refreshes and all of the values from the drop-down list are
lost. The value is not transferred to the label and nothing is left to
select from - the drop-down is totally empty.

The same project on a Windows 2000 server works perfectly but when copied to
ANY windows 2003 server the results are the same failure.

Can anybody help please?
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Code never lies, so post it!
--Michael

"R-D-C" <no****@please.uk> wrote in message news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi,

got a drop-down list on a windows form in VS.NET2003.

In the form load when NOT a postback, we add four values to the drop-down
list. These appear in Internet Explorer.

When you click a button on the form, the value selected in the drop-down is
supposed to be put in a label's Text property. However, when you click the
button, the page refreshes and all of the values from the drop-down list are
lost. The value is not transferred to the label and nothing is left to
select from - the drop-down is totally empty.

The same project on a Windows 2000 server works perfectly but when copied to
ANY windows 2003 server the results are the same failure.

Can anybody help please?

Nov 18 '05 #2

P: n/a
Sounds like Viewstate is disabled.
Turn it on.
--
Joe Fallon

"R-D-C" <no****@please.uk> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi,

got a drop-down list on a windows form in VS.NET2003.

In the form load when NOT a postback, we add four values to the drop-down
list. These appear in Internet Explorer.

When you click a button on the form, the value selected in the drop-down is supposed to be put in a label's Text property. However, when you click the button, the page refreshes and all of the values from the drop-down list are lost. The value is not transferred to the label and nothing is left to
select from - the drop-down is totally empty.

The same project on a Windows 2000 server works perfectly but when copied to ANY windows 2003 server the results are the same failure.

Can anybody help please?

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.