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
Using Contour 3.0.21 and MVC rendering.
Is there a way to customise the error view?
Thanks
Hi Kevin,
What errors do you want to intercept ? Umbraco has error handling module, you can set node ids for each error code.
http://our.umbraco.org/wiki/install-and-setup/configuring-404-pages
HI Alex
When Contour errors instead of the form you get the message exception text. It's not an general Umbraco error it's just inside the Contour form.
Kev
Is it application error ? You can intercept exceptions on the application level.
No it's not an application level error, Contour catches the errors and spits out the error message in the view.
Just to elaborate, this is what's used to render a contour form:
@Html.RenderMvcAction(action, controller, formGuid, formtoken, (umbraco.MacroEngines.DynamicNode)Model, (System.Dynamic.DynamicObject)Parameter);
This swallows any exceptions and then just outputs them, I guess I could do my own RenderMvcAction method, I'm guessing actually that might be the only way.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Customising the error page
Using Contour 3.0.21 and MVC rendering.
Is there a way to customise the error view?
Thanks
Hi Kevin,
What errors do you want to intercept ? Umbraco has error handling module, you can set node ids for each error code.
http://our.umbraco.org/wiki/install-and-setup/configuring-404-pages
HI Alex
When Contour errors instead of the form you get the message exception text. It's not an general Umbraco error it's just inside the Contour form.
Thanks
Kev
Is it application error ? You can intercept exceptions on the application level.
Thanks
No it's not an application level error, Contour catches the errors and spits out the error message in the view.
Just to elaborate, this is what's used to render a contour form:
This swallows any exceptions and then just outputs them, I guess I could do my own RenderMvcAction method, I'm guessing actually that might be the only way.
Thanks
Kev
is working on a reply...