Author: mhabersack
Date: 2008-02-18 14:14:46 -0500 (Mon, 18 Feb 2008)
New Revision: 96094
Modified:
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs
Log:
Backport of r96093
Modified:
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2008-02-18 19:13:19 UTC (rev 96093)
+++ branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2008-02-18 19:14:46 UTC (rev 96094)
@@ -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-01-28 Igor Zelmanovich <[EMAIL PROTECTED]>
* Menu.js: dynamic nodes are positioned after hover style of
Modified:
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs
===================================================================
---
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs
2008-02-18 19:13:19 UTC (rev 96093)
+++
branches/mono-1-9/mcs/class/System.Web/System.Web.UI.WebControls/FormView.cs
2008-02-18 19:14:46 UTC (rev 96094)
@@ -987,10 +987,10 @@
table.Rows.Add (bottomPagerRow);
}
+ OnItemCreated (EventArgs.Empty);
+
if (dataBinding)
DataBind (false);
-
- OnItemCreated (EventArgs.Empty);
return PageCount;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches