p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 3.5 Professionals (http://p2p.wrox.com/forumdisplay.php?f=352)
-   -   alert from class file (http://p2p.wrox.com/showthread.php?t=74805)

lionking June 16th, 2009 06:42 AM

alert from class file
 
I am using asp.net 3.5
i have a data access C# class file that is throwing a user generated exception as below
throw new Exception("Output message from procedure call")

how do i show the browser alert box with the message. Right now the above code just throws a generic alert asking to contact the system administrator

I was researching this and came across client side script injection using Client-side script blocks, but i am unable to add this in my class file as i cannot reference system.web.UI in my class file.

any pointers toward the right direction would be helpful


All times are GMT -4. The time now is 09:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.