show exception message in ValidationSummary

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2007
Posts: 144
Reputation: emilio is an unknown quantity at this point 
Solved Threads: 0
emilio emilio is offline Offline
Junior Poster

show exception message in ValidationSummary

 
0
  #1
Feb 26th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 104
Reputation: Aneesh_Argent is an unknown quantity at this point 
Solved Threads: 18
Aneesh_Argent Aneesh_Argent is offline Offline
Junior Poster

Re: show exception message in ValidationSummary

 
0
  #2
Feb 26th, 2009
Here is an article that explains exactly how to do that.
Falling down is not defeat...
Defeat is when you refuse to getup...
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 144
Reputation: emilio is an unknown quantity at this point 
Solved Threads: 0
emilio emilio is offline Offline
Junior Poster

Re: show exception message in ValidationSummary

 
0
  #3
Mar 1st, 2009
i found this one too.
i was hoping for another solution without creating custom class.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC