I am showing a custom error on my page .. if some error occurred incorrectly. but if the same error occurred on my subview main page, I cannot show the Custom Error page on the Everyone page, showing me this Error page on the subview main page. Please, I am attaching a screenshot.
Can any body help me on how to show the Error page on the whole page if something happens anywhere in the submaster or on another page.
Here is the code that I use in the web configuration file to show a custom error page.
<customErrors mode="On" defaultRedirect="~/Home/Error">
<error statusCode="403" redirect="~/Home/Error" />
<error statusCode="404" redirect="~/Home/Error" />
</customErrors>
my homepage
all js files and links css files
and I have a submaster page for the main page. The main page has three tabs, each tab has a grid control. If something went wrong, I can show the user error page, but show it to me on the submaster page .. not in the main master page ..... but if something is hapend, where I need to show the CustoM Error page on the main main page ..
thank
thank
source
share