Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
180 Points
264 Posts
Apr 02, 2009 03:21 PM|LINK
Thank you Andrea,
I tried what you said but I still get 404.
Route in Global.asax:
routes.Add(new DynamicDataRoute("Articles/{slug}") { Action = "ArticleViewer", Model = model, Table = "Articles" });
It is the first route, ScaffoldAllTables = true
ArticleViewer.aspx exists in /DynamicData/CustomPages
URL I put in my browser: http://localhost:1549/Articles/xyz
Thanks & Regards,
Sam
samw
Member
180 Points
264 Posts
Re: Routing question
Apr 02, 2009 03:21 PM|LINK
Thank you Andrea,
I tried what you said but I still get 404.
Route in Global.asax:
routes.Add(new DynamicDataRoute("Articles/{slug}")
{
Action = "ArticleViewer",
Model = model,
Table = "Articles"
});
It is the first route, ScaffoldAllTables = true
ArticleViewer.aspx exists in /DynamicData/CustomPages
URL I put in my browser: http://localhost:1549/Articles/xyz
Thanks & Regards,
Sam