943,929 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2090
  • ASP.NET RSS
Feb 26th, 2009
0

show exception message in ValidationSummary

Expand Post »
is it possible to catch an exception in a try-catch block and show the message in the page's validation summary ?
Last edited by emilio; Feb 26th, 2009 at 5:17 am.
Similar Threads
Reputation Points: 20
Solved Threads: 0
Junior Poster
emilio is offline Offline
162 posts
since Nov 2007
Feb 26th, 2009
0

Re: show exception message in ValidationSummary

Here is an article that explains exactly how to do that.
Reputation Points: 16
Solved Threads: 18
Junior Poster
Aneesh_Argent is offline Offline
104 posts
since Dec 2008
Mar 1st, 2009
0

Re: show exception message in ValidationSummary

i found this one too.
i was hoping for another solution without creating custom class.
Reputation Points: 20
Solved Threads: 0
Junior Poster
emilio is offline Offline
162 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: <form id="form1" runat="server"> Screwing up formatting. Any idea why?
Next Thread in ASP.NET Forum Timeline: Multi-language Web Application





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC