Jelajahi Sumber

2007-05-23 Marek Habersack <[email protected]>

	* TemplateParser.cs: use VirtualPathUtility.Combine to properly
	create the custom control's virtual path.


svn path=/trunk/mcs/; revision=77848
Marek Habersack 18 tahun lalu
induk
melakukan
ec64328027

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

@@ -1,3 +1,8 @@
+2007-05-23  Marek Habersack  <[email protected]>
+
+	* TemplateParser.cs: use VirtualPathUtility.Combine to properly
+	create the custom control's virtual path.
+
 2007-05-22  Marek Habersack  <[email protected]>
 
 	* TemplateBuilder.cs: in the absence of containerAttribute,

+ 1 - 1
mcs/class/System.Web/System.Web.UI/TemplateParser.cs

@@ -175,7 +175,7 @@ namespace System.Web.UI {
                         
                         if (!File.Exists (realpath))
                                 throw new ParseException (Location, "Could not find file \"" + realpath + "\".");
-                        string vpath = UrlUtils.Combine (BaseVirtualDir, src);
+			string vpath = VirtualPathUtility.Combine (BaseVirtualDir, src);
                         Type type = null;
                         AddDependency (realpath);
                         try {