This is a migrated thread and some comments may be shown as answers.

RadInputManager+TextBoxSetting+Validation is not working with RadTextBox

1 Answer 197 Views
This is a migrated thread and some comments may be shown as answers.
Ravi Kumar
Top achievements
Rank 1
Ravi Kumar asked on 03 Jun 2010, 07:47 AM


<telerik:RadScriptManager ID="RadScriptManager1" runat="server">



<telerik:RadTextBox ID="txtName" runat="server">


<telerik:RadInputManager ID="RadInputManager1" runat="server">


                <telerik:TextBoxSetting BehaviorID="NameBehavior" EmptyMessage="Empty!"

                ErrorMessage="Error!" Validation-IsRequired="true"



                        <telerik:TargetInput ControlID="txtName" />




<asp:Button ID="Button1" runat="server" ValidationGroup="ValidationSummary1" Text="Postback" class="qsfButton"></asp:Button>

Validation is not working.Could we use validation summay control to show message in popup.



1 Answer, 1 is accepted

Sort by
Telerik team
answered on 03 Jun 2010, 03:00 PM
Hello Ravi Kumar,

The problem in this situation is that you should not have a RadInputManager when you use RadTextBox. RadInputManager would be used to extend a standard ASP.NET TextBox. For further information, you can check this help topic. RadTextBox has all the properties you need in your scenario. Here is another topic you can read on the subject concerning the properties of RadInput controls.

It is up to you to choose whether you want to remove the RadInputManager and use RadTextBox on its own, or the other way around - replace RadTextBox with a standard TextBox.
I hope this information helps.

All the best,
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Asked by
Ravi Kumar
Top achievements
Rank 1
Answers by
Telerik team
Share this question