1) How can you validate a textbox to look exactly as they do when using the input manager?
This doesn't give me the same look that the input manager does:
| <telerik:RadTextBox ID="txt_Make" Runat="server" Skin="Windows7" |
| Width="170px"> |
| </telerik:RadTextBox> |
| <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required!" ControlToValidate="txt_Make" Display="Dynamic" SetFocusOnError="True"></asp:RequiredFieldValidator> |
I want them to look exactly like the inputmanager:
| <telerik:RadInputManager ID="AppInputManager" runat="server" Skin="Windows7"> |
| <telerik:TextBoxSetting ErrorMessage="Required!"> |
| <TargetControls> |
| <telerik:TargetInput ControlID="txt_FirstName" /> |
| <telerik:TargetInput ControlID="txt_LastName" /> |
| <telerik:TargetInput ControlID="txt_Address" /> |
| <telerik:TargetInput ControlID="txt_City" /> |
| </TargetControls> |
| <Validation IsRequired="True" ValidationGroup="Application"></Validation> |
| </telerik:TextBoxSetting> |
| </telerik:RadInputManager> |
The input manager displays the icon and the message in red INSIDE the control, the validator does not.
I cant use an input manager for some of the fields because they are only required based on user input. I tried adding an entire new input manager for these fields, but then they always try to get validated - even when hidden. And I don't want to do a postback - I don't think I can enable and disable the input managers client-side.
