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
|