Hello all.
I have 2 controls on a page. One control is a simple control that displays messages to the user. For instance:
Try
If txtUserStatus.text <> "Active" then
throw new exception ("User must be in Active Status"
End If
Catch ex as Exception
ctrlMsg.AppendText (ex.message)
End Try
Now, I have another control that I created which I want to throw an exception and have the message display in my first control.
Any ideas how I can do this?
Thank you,
SteveS
smsinger3@yahoo.com
I have 2 controls on a page. One control is a simple control that displays messages to the user. For instance:
Try
If txtUserStatus.text <> "Active" then
throw new exception ("User must be in Active Status"
End If
Catch ex as Exception
ctrlMsg.AppendText (ex.message)
End Try
Now, I have another control that I created which I want to throw an exception and have the message display in my first control.
Any ideas how I can do this?
Thank you,
SteveS
smsinger3@yahoo.com