Quellcode durchsuchen

2007-09-02 Igor Zelmanovich <[email protected]>

	* Page.jvm.cs: implemented IsMultiForm property to take 
	the value from configuration.


svn path=/trunk/mcs/; revision=85187
Igor Zelmanovich vor 18 Jahren
Ursprung
Commit
d2b70495cf

+ 5 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -1,3 +1,8 @@
+2007-09-02 Igor Zelmanovich <[email protected]>
+
+	* Page.jvm.cs: implemented IsMultiForm property to take 
+	the value from configuration.
+
 2007-08-30 Igor Zelmanovich <[email protected]>
 2007-08-30 Igor Zelmanovich <[email protected]>
 
 
 	* Page.cs: fixed MaintainScrollPositionOnPostBack feature.
 	* Page.cs: fixed MaintainScrollPositionOnPostBack feature.

+ 6 - 1
mcs/class/System.Web/System.Web.UI/Page.jvm.cs

@@ -80,7 +80,12 @@ namespace System.Web.UI
 		}
 		}
 		
 		
 		internal bool IsMultiForm {
 		internal bool IsMultiForm {
-			get { return IsPortletRender; }
+			get {
+				Mainsoft.Web.Configuration.PagesSection pageSection = (Mainsoft.Web.Configuration.PagesSection) System.Web.Configuration.WebConfigurationManager.GetSection ("mainsoft.web/pages");
+				if (pageSection != null)
+					return pageSection.MultiForm;
+				return false;
+			}
 		}
 		}
 
 
 		internal bool IsPortletRender
 		internal bool IsPortletRender