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,
Just been reading this article in the documentation and think it's exactly what I need:
http://our.umbraco.org/documentation/Reference/Mvc/custom-controllers
When using the route hijacking approach is it possible to access the query string or even better, bind a value to the hijacked action from the previous Umbraco page?
Hope this made sense!
Cheers,
Simon
When you say the previouse page? Is that the page that caused the hijacked route? If so you can just use URL referer (That will get you the url)
Yes you can access the query string, i dont see why not.
HttpContext.Current.Request is what you need :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
MVC Route Hijacking
Hi Guys,
Just been reading this article in the documentation and think it's exactly what I need:
http://our.umbraco.org/documentation/Reference/Mvc/custom-controllers
When using the route hijacking approach is it possible to access the query string or even better, bind a value to the hijacked action from the previous Umbraco page?
Hope this made sense!
Cheers,
Simon
When you say the previouse page? Is that the page that caused the hijacked route? If so you can just use URL referer (That will get you the url)
Yes you can access the query string, i dont see why not.
HttpContext.Current.Request is what you need :)
is working on a reply...