Replies: 2 comments
-
Figured it out. Changed: Not sure why the "?" makes a difference. Still getting used to Attribute routing. |
Beta Was this translation helpful? Give feedback.
-
Keep the case of your parameters in your route the same as the parameter in the method ( Apart from the casing issue (not sure if this is an issue, I always keep the case the same and don't know what happens when you don't), I don't see from your code sample why you are experiencing that behavior. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having troubles getting @Url.RouteUrl to show proper route. It works for many of my controllers and actions but this one is a mystery to me.
My Action:
The view that the I am trying to insert the @Url.RouteUrl into is a different view then the one that goes with this action. I can print out the name via @ProofingControllerRoute.ProofOrder and it shows on the page but the RouteUrl comes up blank.
Beta Was this translation helpful? Give feedback.
All reactions