浏览代码

2006-01-11 Chris Toshok <[email protected]>

	* ClientScriptManager.cs (RegisterClientScriptResource):
	implement.


svn path=/trunk/mcs/; revision=55397
Chris Toshok 20 年之前
父节点
当前提交
ec51af0830

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

@@ -1,3 +1,8 @@
+2006-01-11  Chris Toshok  <[email protected]>
+
+	* ClientScriptManager.cs (RegisterClientScriptResource):
+	implement.
+
 2006-01-11  Vladimir Krasnov  <[email protected]>
 
 	* ObjectStateFormatter.cs: Removed TARGET_JVM parts in 

+ 1 - 2
mcs/class/System.Web/System.Web.UI/ClientScriptManager.cs

@@ -295,10 +295,9 @@ namespace System.Web.UI
 		}
 
 #if NET_2_0
-		[MonoTODO]
 		public void RegisterClientScriptResource (Type type, string resourceName)
 		{
-			throw new NotImplementedException ();
+			RegisterScript (ref scriptIncludes, type, "resource-" + resourceName, GetWebResourceUrl (typeof(Page), "resourceName"), false);
 		}
 
 		[MonoTODO]