5 Answers, 1 is accepted
0
Hello Daron,
Could you elaborate in which scenario do the RadTextBox behave differently compared to the asp.net TextBox control? With the following setup validation is triggered for both of them:
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you elaborate in which scenario do the RadTextBox behave differently compared to the asp.net TextBox control? With the following setup validation is triggered for both of them:
<telerik:RadTextBox ID="RadTextBox1" runat="server" CausesValidation="false"> |
</telerik:RadTextBox> |
<asp:RequiredFieldValidator ID="Req1" runat="server" ControlToValidate="RadTextBox1" |
ErrorMessage="*"> |
</asp:RequiredFieldValidator> |
<asp:Button ID="Button1" runat="server" Text="Button" /> |
<asp:TextBox ID="TextBox1" runat="server" CausesValidation="false"></asp:TextBox> |
<asp:RequiredFieldValidator ID="Req1" runat="server" ControlToValidate="TextBox1" |
ErrorMessage="*"> |
</asp:RequiredFieldValidator> |
<asp:Button ID="Button1" runat="server" Text="Button" /> |
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Daron
Top achievements
Rank 1
answered on 06 Feb 2008, 06:31 PM
It behaves entirely different to the standard textbox!
I drag a telerik textbox onto a webform and also a standard textbox.
I drag a requiredfieldvalidator onto the form and set it's controltovalidate property to the telerik textbox.
When I mouse into and out of the telerik textbox the validator fires (incorrectly).
When I set the controltovalidate property of the validator to the standard textbox and mouse into and out of that textbox, the validator doesn't fire (as by design). When you click the submit button, the validator fires, correctly.
Hence, there is a bug in the telerik control.
I drag a telerik textbox onto a webform and also a standard textbox.
I drag a requiredfieldvalidator onto the form and set it's controltovalidate property to the telerik textbox.
When I mouse into and out of the telerik textbox the validator fires (incorrectly).
When I set the controltovalidate property of the validator to the standard textbox and mouse into and out of that textbox, the validator doesn't fire (as by design). When you click the submit button, the validator fires, correctly.
Hence, there is a bug in the telerik control.
<
asp:ScriptManager ID="ScriptManager1" runat="server" />
<
telerik:RadTextBox ID="tt" runat="server" />
<
asp:TextBox id="ms" runat="server" />
<
asp:RequiredFieldValidator id="rfv" runat="server" ControlToValidate="tt" ErrorMessage="*" />
<
asp:Button ID="btn" runat="server" Text="go" />
0
Hi Daron,
Thank you for elaborating on this one. We were able to reproduce the problem and it will be fixed for the service pack release in about two weeks.
We have updated your Telerik points for the report.
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for elaborating on this one. We were able to reproduce the problem and it will be fixed for the service pack release in about two weeks.
We have updated your Telerik points for the report.
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Nitin Arora
Top achievements
Rank 1
answered on 22 Jan 2010, 10:53 AM
I am using telerik.web.ui version 2009.1.402.35 and I can still repro the bug.
Has this bug been fixed yet?
Has this bug been fixed yet?
0
Hi Nitin,
I cannot reproduce the problem with the version you have specified. Can you confirm you can reproduce it with the markup pasted previously in this thread?
Kind regards,
Pavel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I cannot reproduce the problem with the version you have specified. Can you confirm you can reproduce it with the markup pasted previously in this thread?
Kind regards,
Pavel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.