Help with Button click
Hi Friends
I am new to this language. I have made a login form which has 2 text boxes for username and password and a submit button so that if the username/password are correct, user is redirected to a new webpage.
However, if the password or username is incorrect, I have displayed a message box using button1.attributes.add
But the problem is when the first time the button is clicked (when the username pwd is invalid), not message box is displayed. However, if I click the second time Message box is displayed.
PROBLEM IS FIRST TIME THE MESSAGE BOX DOES NOT APPEAR.
Thanks
Mike
__________________
Regards
Mike
|