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
Kumar AU
1.4k
309
61.2k
Displaying the error message in TryUpdateModel in MVC4
Jan 30 2018 8:31 PM
My Code :-
if (TryUpdateModel(model))
{
//My Logic
}
else
{
ActivityLogger.LogActivity("HandleReceiverAddressSubmitted Method" + ModelState.Values);
}
Here in "ModelState.Values" rather then giving the actual error message its showing as 'System.Collections.Generic.Dictionary`2+ValueCollection'
Could you please help me how do I Log the error message If any error occurred in the TryUpdateModel in MVC4 in my code.
Reply
Answers (
1
)
how to display image inside Gauge chart
How to use dropzone in C# with SQL Database