I am using an InputManager for my text boxes like so:
This only works when I click on the text box, and then click out of it again (blur). It does not validate when my asp:Button is clicked. I even attempted to set the buttons commandName to "Submit", even though UseSubmitBehavior is set to true.
Also, ValidateOnEvent="All". Any idea why this isn't firing?
| <telerik:RadInputManager ID="RadInputManager1" runat="server" Skin="Windows7"> |
| <telerik:TextBoxSetting ErrorMessage="Required!"> |
| <Validation IsRequired="true" ValidationGroup="Primary" /> |
| <TargetControls> |
| <telerik:TargetInput ControlID="txt_FirstName" /> |
| <telerik:TargetInput ControlID="txt_LastName" /> |
| <telerik:TargetInput ControlID="txt_Address" /> |
| <telerik:TargetInput ControlID="txt_City" /> |
| <telerik:TargetInput ControlID="txt_ZipCode" /> |
| </TargetControls> |
| </telerik:TextBoxSetting> |
| </telerik:RadInputManager> |
This only works when I click on the text box, and then click out of it again (blur). It does not validate when my asp:Button is clicked. I even attempted to set the buttons commandName to "Submit", even though UseSubmitBehavior is set to true.
Also, ValidateOnEvent="All". Any idea why this isn't firing?
