Declined
Last Updated: 06 Jun 2016 14:09 by ADMIN
parlardin
Created on: 08 Jul 2013 04:51
Category: InputManager
Type: Bug Report
0
RadTextBox SetFocusOnError Validate Issue
i use RequiredFieldValidator to validate radtextbox,SetFocusOnError="true"
telerik version:2012Q3

first ,enter " ",validate event fire, display “notnull”
sencond,enter “123” ,radtextbox not set value,validate event not fire

asp.net textbox is ok

code:
<telerik:RadTextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </telerik:RadTextBox>
        <%--<asp:TextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </asp:TextBox>--%>
        <asp:RequiredFieldValidator ID="TextBoxRequiredFieldValidator" runat="server" Display="Dynamic"
            ControlToValidate="txtAppId" Text="NOT NULL" ErrorMessage="NOT NULL" SetFocusOnError="true">                          
        </asp:RequiredFieldValidator>
1 comment
ADMIN
Rumen
Posted on: 06 Jun 2016 14:08
I tested the latest R2 2016 version of RadTextBox and the required field validator behaved as expected with it. RadTextBox offers the same behavior as the regular <asp:TextBox> component.