MVC 5: How do I render error page in a different div?
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
Wrong place to post: read the top of the page, and pay attention to the red words: click here to ask your programming questions. Post it here: Ask a Question[^] But give us details: Remember that we can't see your screen, access your HDD, or read your mind.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
You're much more likely to get an answer if you ask at the right place. Try here[^] .
Wrong is evil and must be defeated. - Jeff Ello
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
Also, while posting a new question please include attempted solutions, why they didn't work, and the expected results. That would really helps others to figure out the issue with your code and provide a better solution.
Regards, Palash
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
Good luck with that! :rolleyes:
-
I am handling error by overriding OnException method after that I need to render my partial error view into a div in _Layout.cshtml and not into the original div where it occurred. Thanks!
JavaScript?
JavaScript gives you a false sense of safety. It's like riding a bike with those little side wheels and then riding head first into a ravine. Sander Rossel
-
Wrong place to post: read the top of the page, and pay attention to the red words: click here to ask your programming questions. Post it here: Ask a Question[^] But give us details: Remember that we can't see your screen, access your HDD, or read your mind.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
And somebody upvoted it... :~
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the time -
And somebody upvoted it... :~
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the timeWell, at least we know he has a friend. Probably imaginary, but there you go!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...