Jul 07, 2008, 7:27 PM
TextField and Button Validation
Hello,
I've got an ExtJS TextField and a Button, the TextField is setup not to allow an empty submit however, when I click the login button it does not show the validation ... unless I click inside the TextField and lose focus.
Here is what I've got:
Timothy
I've got an ExtJS TextField and a Button, the TextField is setup not to allow an empty submit however, when I click the login button it does not show the validation ... unless I click inside the TextField and lose focus.
Here is what I've got:
<ExtJS:TextField ID="txtUsername" runat="server" AllowEmpty="False" />
<ExtJS:Button ID="btnLogin" runat="server" Text="Login" CausesValidation="True" onclick="btnLogin_Click" />
Cheers,Timothy