TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mansi Gupta
NA
52
2.7k
How to prevent user from redirecting to Error page in MVC 4
May 17 2016 7:21 AM
I have a created a custom exception handler to handle all unhandled exceptions in MVC application and logging error details in database.
The problem is -it logs the exception but also redirects to Error page.
I want user to stay on the same view whenever error comes and some generic message should be displayed to the user like 'Error while saving data'.
I have removed defaultRedirect="Error" from below setting but still it redirects
<customErrors mode="On" ></customErrors>
How to achieve this functionality.
Reply
Answers (
2
)
drag an image in listview
How can I use 128 Bit AES with fixed len output?