diff options
author | Marek Habersack <grendel@twistedcode.net> | 2007-09-13 17:27:37 +0400 |
---|---|---|
committer | Marek Habersack <grendel@twistedcode.net> | 2007-09-13 17:27:37 +0400 |
commit | 0b4d212b600b08dec551e6ef0236881388a20a70 (patch) | |
tree | 5375876284fe6cbbec242bde67119d9fc1bd05ee | |
parent | 5842e7d93c25221fc34ac73be0575673d83d62e0 (diff) |
2007-07-26 Vladimir Krasnov <vladimirk at mainsoft.com>
* ListItemCollection.cs: fixed LoadViewState, items restored from
viewstate were not saved, fixes bug #82192
svn path=/branches/mono-1-2-5/mcs/; revision=85745
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/ListItemCollection.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog index a4926959573..db52b4e4636 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog @@ -1,3 +1,8 @@ +2007-07-26 Vladimir Krasnov <vladimirk at mainsoft.com> + + * ListItemCollection.cs: fixed LoadViewState, items restored from + viewstate were not saved, fixes bug #82192 + 2007-08-30 Igor Zelmanovich <igorz at mainsoft.com> * ListControl.cs: fixed selected items state management. diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/ListItemCollection.cs b/mcs/class/System.Web/System.Web.UI.WebControls/ListItemCollection.cs index 4e9ec7be33c..127966894e6 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/ListItemCollection.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/ListItemCollection.cs @@ -286,7 +286,7 @@ namespace System.Web.UI.WebControls { if (stateObj [i] != null) item.LoadViewState (stateObj [i]); - items.Add (item); + Add (item); } } |