开发者

.NET URI Routing MapPageRoute issue

Any ide开发者_如何学JAVAas on how to resolve this issue?

My Global.aspx:

protected void Application_Start(object sender, EventArgs e)
{
    RouteTable.Routes.MapPageRoute<TabsResource>("users");
}

The non-generic method 'System.Web.Routing.RouteCollection.MapPageRoute(string, string, string, bool, System.Web.Routing.RouteValueDictionary, System.Web.Routing.RouteValueDictionary, System.Web.Routing.RouteValueDictionary)' cannot be used with type arguments


Sounds like it doesn't like the <TabsResource>. It doesn't appear to be a generic function. Also, I think you're missing a few arguments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜