is it possible to catch an exception in a try-catch block and show the message in the page's validation summary ?

Here is an article that explains exactly how to do that.

i found this one too.
i was hoping for another solution without creating custom class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.