Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3310448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:45:41+00:00 2026-05-17T21:45:41+00:00

I am showing Custom Error in my page.. if somehting happend wrong. but if

  • 0

I am showing Custom Error in my page.. if somehting happend wrong. but if the same error occured in my subview master page I am not able to show the Custom error page on Entire page its showing me that Error page under subview master page. Please I am attaching the Screen shot.

Can any body help me out how to show the Error page on entire page if something happend in any where submaster or other page..

Here is the code that I am using in web config file to show custom Error page..

<customErrors mode="On" defaultRedirect="~/Home/Error">
  <error statusCode="403" redirect="~/Home/Error" />
  <error statusCode="404" redirect="~/Home/Error" />
</customErrors>

master page I have

all the js files and Css files links

and I have submaster page for mainmaster page.. sub master page have three tabs each tab has grid control.if something went wrong I can able to show the Custom Error page but its showing me in submaster page.. not in main master page…..but if something hapend any where I need to show CustoM Error page in main master page..

Thanks

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:45:42+00:00Added an answer on May 17, 2026 at 9:45 pm

    This issue is occurring because you are using AJAX to partially load the contents of the tabs after the initial page load so the error is occurring AFTER your master page has been loaded.

    What you need to do is provide a javascript function to handle the error after the ajax call has returned and redirect to the error page.

    I’m not sure what javascript framework you’re using, but most frameworks allow you to specify callbacks for success and error handling.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The javascript console keeps showing Not a custom field name: username when its supposed
I want to be able to generate IIS's standard 404 response, not a custom
I am showing custom marker with click event on it. It shows information when
I'm running a WordPress website with a custom template that is showing me a
When showing data from a mysql table on an php page does it have
I'm having an issue with exceptions showing app as stack traces in the page.
I wrote custom FxCop rules for our project. I wrote a wiki page documenting
I've created a custom handler that will take care of dismissing dialogs, showing dialogs
I have added a validation message CountryId custom error to a view. Problem is
I am trying to add custom error pages to my web application. So far

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.