Merge pull request #414 from sesef/datagrid
[mono.git] / mcs / class / System.Web / System.Web.UI / PageParser.jvm.cs
index ad3743610574ab10597f0d8516f30caa4470431d..c96093806da4b8d86a18c90908b1a6624454f4e8 100644 (file)
@@ -46,10 +46,10 @@ namespace System.Web.UI
                                                                    string inputFile, 
                                                                    HttpContext context)
                {
-                       Type tmpType = PageMapper.GetObjectType(virtualPath);\r
-                       if (tmpType == null)\r
-                               throw new InvalidOperationException ("Documentation page '" + virtualPath + "' not found");\r
-                       Object obj = Activator.CreateInstance(tmpType);\r
+                       Type tmpType = PageMapper.GetObjectType(context, virtualPath);
+                       if (tmpType == null)
+                               throw new InvalidOperationException ("Documentation page '" + virtualPath + "' not found");
+                       Object obj = Activator.CreateInstance(tmpType);
                        return (IHttpHandler) obj;
                }