>>In my case I'm still in TRY/CATCH block, so I get the exception myself. My problem is that I don't know how to show alert or confirm message when I'm already doing server-side.
>>
>>Say, if your search returns 0 results, you're somehow showing a messagebox (if I'm not mistaken). I don't know how to do this from the server side.
>>
>>Showing the info in the label (as it is done now) has a problem - the label text has to be cleared once another action is initiated - and I don't know how to achieve this either.
>
>For notification message, I go in a javascript Alert() mode.
Right, but the missing part form my side is how do you do this from the server-side code?
I have no problem adding OnClick code, but how do you do it afterwards in server-side?
Can you please show some example?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog