Oct 14, 2013, 9:03 AM
[FIXED] [2.3] Remote Validation loading icon issue
I think you fixed this bug (http://forums.ext.net/showthread.php...ote-validation) in 2.3, but not enough, in the post 2# I say
You can run below code, the issue not fixed.
Additional, If remote validation invoke, the loading icon will appear, when validation over, the loading icon will disappear, and any IndicatorText will disappear together.
Run below code, when remote validtion invoke over, the red "*" will disapear.
Run below code, when remote validtion invoke over, the red "*" will disapear.
<%@ Page Language="C#" %>
<script runat="server">
protected void TextField_Validation(object sender, RemoteValidationEventArgs e)
{
if (Convert.ToString(e.Value) == "abc")
e.Success = true;
}
</script>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
.red {
color:red;
}
</style>
</head>
<body>
<ext:ResourceManager runat="server"></ext:ResourceManager>
<ext:Viewport ID="Viewport1" runat="server">
<Items>
<ext:TextField ID="TextField1" runat="server" FieldLabel="Name"
IsRemoteValidation="true" IndicatorText="*" IndicatorCls="red">
<RemoteValidation OnValidation="TextField_Validation">
</RemoteValidation>
</ext:TextField>
</Items>
</ext:Viewport>
</body>
</html>
Last edited by Daniil; Oct 17, 2013 at 2:25 PM.
Reason: [FIXED] [2.3]