Author: krasnov
Date: 2006-07-11 07:06:43 -0400 (Tue, 11 Jul 2006)
New Revision: 62433
Modified:
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs
Log:
* MultiView.cs: removed exception throwing from ActiveViewIndex
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-07-11 10:30:54 UTC (rev 62432)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-07-11 11:06:43 UTC (rev 62433)
@@ -1,3 +1,7 @@
+2006-07-11 Vladimir Krasniov <[EMAIL PROTECTED]>
+
+ * MultiView.cs: removed exception throwing from ActiveViewIndex
+
2006-07-11 Konstantin Triger <[EMAIL PROTECTED]>
* DataControlFieldCollection.cs: added OnClearComplete override;
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs
2006-07-11 10:30:54 UTC (rev 62432)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs
2006-07-11 11:06:43 UTC (rev 62433)
@@ -65,8 +65,10 @@
{
if (ob is View)
Controls.Add (ob as View);
- else
- throw new HttpException ("MultiView cannot have
children of type 'Control'. It can only have children of type View.");
+ // LAMESPEC: msdn talks that only View contorls are
allowed, for others controls HttpException should be thrown
+ // but actually, aspx praser adds LiteralControl
controls.
+ //else
+ // throw new HttpException ("MultiView cannot have
children of type 'Control'. It can only have children of type View.");
}
protected override ControlCollection CreateControlCollection ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches