Hi,
As you can see from the code, the text box is required to have a value. The text box has no value. I click on the button first time everything is working correctly and I have the "Error!" message inside the textbox. When I click on the button second time without changing anything, the text box still has the error style but the message disappears. And if I have EmptyMessage set up, it would appear instead of the error message. How can I make the error message stay?
Thank you
As you can see from the code, the text box is required to have a value. The text box has no value. I click on the button first time everything is working correctly and I have the "Error!" message inside the textbox. When I click on the button second time without changing anything, the text box still has the error style but the message disappears. And if I have EmptyMessage set up, it would appear instead of the error message. How can I make the error message stay?
Thank you
<
asp:TextBox
ID
=
"txtTest"
runat
=
"server"
/>
<
telerik:RadInputManager
ID
=
"RadInputManager1"
runat
=
"server"
EnableEmbeddedSkins
=
"true"
Skin
=
"Default"
>
<
telerik:TextBoxSetting
BehaviorID
=
"bhTest"
ErrorMessage
=
"Error!"
Validation-IsRequired
=
"true"
Validation-ValidationGroup
=
"ValidationSummary1"
>
<
TargetControls
>
<
telerik:TargetInput
ControlID
=
"txtTest"
/>
</
TargetControls
>
</
telerik:TextBoxSetting
>
</
telerik:RadInputManager
>
<
asp:Button
ID
=
"btnTest"
runat
=
"server"
ValidationGroup
=
"ValidationSummary1"
Text
=
"Test"
/>