I am able to read the selected value of the disabled dropdown correctly in my aspx.vb file when the browser is IE6 and below.
With IE7 and IE8 the selected value of the dropdown list is lost and the selected index of the dropdown is always zero (when i read dropdown.selectedindex in my aspx.vb file).
Is it a bug in IE7/8?
Thursday, November 18, 2010 11:06 PM
You realize asp.net uses form postback. Typically you will have something like
if not page.isPostback then
'' Display default values for elements
'' Read the request.form variables and processes the values
eg.... dropdownvalue=request("myDropdown") & ""
asp.net can serve up different markup and scripts for different browser versions, and IE6 has different security zone settings (which can affect how form posts are sent back to the server), so the comparison to IE6 is useless without a sample.
- Marked As Answer by Song TianMicrosoft Contingent Staff, Moderator Wednesday, November 24, 2010 8:17 AM