* FormView.cs: the ItemCreated must be fired before data is bound to the FormView. Fixes bug #360434 svn path=/trunk/mcs/; revision=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.
@@ -987,10 +987,10 @@ namespace System.Web.UI.WebControls
table.Rows.Add (bottomPagerRow);
}
+ OnItemCreated (EventArgs.Empty);
if (dataBinding)
DataBind (false);
-
- OnItemCreated (EventArgs.Empty);
return PageCount;