[Mono-bugs] [Bug 79309][Nor] Changed - The PostBack method does not work on the DropDownList if selected the first item

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 8 06:01:06 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.


--- shadow/79309	2006-09-07 21:15:35.000000000 -0400
+++ shadow/79309.tmp.2029	2006-09-08 06:01:06.000000000 -0400
@@ -261,6 +261,23 @@
 ------- Additional Comments From tonyxgu at yahoo.com  2006-09-07 21:15 -------
 One simple question: could you *EVER* get the "Your selected index is
 0"  to display the pay by running this sample test?
+------- Additional Comments From robertj at gmx.net  2006-09-08 06:01 -------
+Tony, of course. We all see that working. That's why the
+bug was *closed*.
+I can reproduce your issue, ***if I turn the view state off***
+Even then, it's still not a bug, because MS.NET behaves like
+Your workaround "if ( index != this.SelectedIndex || index == 0 )"
+shows that SelectedIndex, respectively the Items collection,
+doesn't persist its state on your machine. The workaround just
+cures some obscure symptoms.
+Unless you provide another test case, we can't do anything
+about it.

More information about the mono-bugs mailing list