Author: mhabersack Date: 2008-02-18 14:13:19 -0500 (Mon, 18 Feb 2008) New Revision: 96093
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog trunk/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs Log: 2008-02-18 Marek Habersack <[EMAIL PROTECTED]> * FormView.cs: the ItemCreated must be fired before data is bound to the FormView. Fixes bug #360434 Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog =================================================================== --- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog 2008-02-18 18:25:24 UTC (rev 96092) +++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog 2008-02-18 19:13:19 UTC (rev 96093) @@ -1,3 +1,8 @@ +2008-02-18 Marek Habersack <[EMAIL PROTECTED]> + + * FormView.cs: the ItemCreated must be fired before data is bound + to the FormView. Fixes bug #360434 + 2008-02-07 Igor Zelmanovich <[EMAIL PROTECTED]> * Login.cs: render id attribute of root element correctly. Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs =================================================================== --- trunk/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs 2008-02-18 18:25:24 UTC (rev 96092) +++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs 2008-02-18 19:13:19 UTC (rev 96093) @@ -987,10 +987,10 @@ table.Rows.Add (bottomPagerRow); } + OnItemCreated (EventArgs.Empty); + if (dataBinding) DataBind (false); - - OnItemCreated (EventArgs.Empty); return PageCount; } _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches