Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
I am trying to create a routing on my search results page.
I got the controller name and the action, which are not custom, just the defaults.
RouteTable.Routes.MapRoute( ConstantNames.Routing_PropertyTypesAndLocalitiesRouteName, "luxury-properties/test", new { controller = ConstantNames.Routing_PropertyTypesAndLocalities_Controller, action = ConstantNames.Routing_PropertyTypesAndLocalities_Action });
The problem is that when I go to that url, the page just render nothing, just blank page, even not found.
Any help regarding routing on non-custom controllers?
Thank you.
Kind Regards
The controller name is RenderMvc and the action name is SearchResults
I HAve this:
RouteTable.Routes.MapRoute( "sdfsdf", "luxury-properties/test", new { controller = "RenderMvc", action = "SearchResults", },new UmbracoVirtualNodeByIdRouteHandler(1092));
But the view is not being rendered. Just Blank Page.
Any ideas pleasE?
I have debugged and Route Data Tokens are not being filled in.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Routing
Hi Guys,
I am trying to create a routing on my search results page.
I got the controller name and the action, which are not custom, just the defaults.
The problem is that when I go to that url, the page just render nothing, just blank page, even not found.
Any help regarding routing on non-custom controllers?
Thank you.
Kind Regards
The controller name is RenderMvc and the action name is SearchResults
I HAve this:
But the view is not being rendered. Just Blank Page.
Any ideas pleasE?
I have debugged and Route Data Tokens are not being filled in.
is working on a reply...