[thelist] .NET: drop down selected item

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Wed Mar 14 15:59:49 CDT 2007


Hi Casey,

    That's standard HTML syntax; it hasn't changed in a decade.  

    Are you sure the test conditions were exactly the same, i.e. that the "selected" attribute was really set in option 2 when you pulled up the page in Firefox?

Cheers,

Peter

----------------------------------------

From: "Casey Crookston" caseyc at IntelliSoftmn.com

I'm setting the value of a dropdown list as follows:
drpSelectMonthTo.SelectedValue = (intMonth).ToString

This is the HTML that is returned: value="2">2

This works in IE but not FireFox. Any idea how to make it work in
firefox?

Casey



More information about the thelist mailing list