[Mono-bugs] [Bug 47697][Nor] Changed - ASP.NET: State is not restored from ViewState for dynamically created controls

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 19 Aug 2003 05:48:24 -0400 (EDT)


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 eric@veltman.nu.

http://bugzilla.ximian.com/show_bug.cgi?id=47697

--- shadow/47697	2003-08-18 12:46:01.000000000 -0400
+++ shadow/47697.tmp.7799	2003-08-19 05:48:23.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 47697
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Suse 8.2
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: System.Web
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: eric@veltman.nu               
 QAContact: mono-bugs@ximian.com
@@ -80,6 +80,74 @@
 </html>
 
 ------- Additional Comments From gonzalo@ximian.com  2003-08-18 12:46 -------
 This is fixed now in CVS.
 
 Thanks! It was a tricky one.
+
+------- Additional Comments From eric@veltman.nu  2003-08-19 05:48 -------
+The problem is not completely solved yet. 
+The simple example that I first posted with this 
+bugreport does work now, but another one doesn't yet. 
+I'll paste a uuencoded .tgz with the files to reproduce 
+the problem at the bottom. The new example contains a button. 
+Each time you click the button, a new table row appears. 
+The table row contains 3 columns of text, 1 column with a dropdown. 
+The dropdown is populated from the code only the first time it is 
+created; the next time it is created the code assumes that the 
+ViewState mechanism will load the items in the dropdown again. 
+Unfortunately that doesn't happen. The dynamic dropdowns 
+don't remember the items between postbacks. 
+ 
+begin 644 repro.tgz 
+M'XL(`'+O03\``^T8;6_;O#%?[5]Q4]'-05+)=MZ&)BZ6V&F3(4V"V&DP#$-! 
+M2[2M/;*HB53<K,A_WQU)R;*B+.V*9L_S(/Q@B^3=\=YX+_1%P,=\%L9!UV4R 
+M^;+V$T:[TV[O;F^OM7'L[9K_CIW3YU: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