Selaa lähdekoodia

2006-11-23 Igor Zelmanovich <[email protected]>

	* BoundField.cs: fixed: GetDesignTimeValue()


svn path=/trunk/mcs/; revision=68394
Igor Zelmanovich 19 vuotta sitten
vanhempi
sitoutus
701cfb82ae

+ 1 - 1
mcs/class/System.Web/System.Web.UI.WebControls/BoundField.cs

@@ -212,7 +212,7 @@ namespace System.Web.UI.WebControls {
 		
 		protected virtual object GetDesignTimeValue ()
 		{
-			return GetBoundValue (Control);
+			return "Databound";
 		}
 
 		object GetBoundValue (Control controlContainer)

+ 4 - 0
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,7 @@
+2006-11-23 Igor Zelmanovich <[email protected]>
+
+	* BoundField.cs: fixed: GetDesignTimeValue()
+
 2006-11-23 Igor Zelmanovich <[email protected]>
 
 	* SiteMapDataSource.cs: fixed: GetViewNames()

+ 0 - 1
mcs/class/System.Web/Test/System.Web.UI.WebControls/BoundFieldTest.cs

@@ -302,7 +302,6 @@ namespace MonoTests.System.Web.UI.WebControls
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void BoundField_GetDesignTimeValue () {
 			string result;
 			PokerBoundField bf = new PokerBoundField ();

+ 4 - 0
mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,7 @@
+2006-11-23  Igor Zelmanovich   <[email protected]>
+
+	* BoundFieldTest.cs: removed NotWorking attributes.
+
 2006-11-23  Igor Zelmanovich   <[email protected]>
 
 	* SiteMapDataSourceTest.cs: removed NotWorking attributes.