Hi,
I have a asp.net form that I have a login form on. I have validator's on the 2 textboxes, I have added a div tag in the code with the "please wait box and image" that I want to display after the user clicks the button for logging in (I use the onclick event, that runs java, to display the hidden div tag with my "please wait dialog").
My problem happens when the button is clicked, the "please wait" runs OK, but, it runs whether the form is valid or not. I want it to pop only when the validators are correct.
I tried to use the code behind to show the "please wait" popup in the login button click event (when the fields are not blank) but it won't display. (I think that's due to server side/client side issue.
I've searched around and have seen some examples, and if form validation wasnt needed this would work great with just the onclick and the java code. I don't know what else to try.
thanks in advance for help.
I have a asp.net form that I have a login form on. I have validator's on the 2 textboxes, I have added a div tag in the code with the "please wait box and image" that I want to display after the user clicks the button for logging in (I use the onclick event, that runs java, to display the hidden div tag with my "please wait dialog").
My problem happens when the button is clicked, the "please wait" runs OK, but, it runs whether the form is valid or not. I want it to pop only when the validators are correct.
I tried to use the code behind to show the "please wait" popup in the login button click event (when the fields are not blank) but it won't display. (I think that's due to server side/client side issue.
I've searched around and have seen some examples, and if form validation wasnt needed this would work great with just the onclick and the java code. I don't know what else to try.
thanks in advance for help.