A
Andre
Hi,
Can someone tell me why args.value return "undefined" in my Function.
Thank you.
<asp:textbox id="TBCiv" runat="server"></asp:textbox>
<asp:CustomValidator id="CustomValidator1" ControlToValidate="TBCiv"
ClientValidationFunction="ClientValidate" Display="Static" ErrorMessage="Not
a number" runat="server"/>
<script language="JavaScript">
function ClientValidate(sender, objArgs)
{
alert(objArgs.value); ----------> always "undefined"
}
</script>
Can someone tell me why args.value return "undefined" in my Function.
Thank you.
<asp:textbox id="TBCiv" runat="server"></asp:textbox>
<asp:CustomValidator id="CustomValidator1" ControlToValidate="TBCiv"
ClientValidationFunction="ClientValidate" Display="Static" ErrorMessage="Not
a number" runat="server"/>
<script language="JavaScript">
function ClientValidate(sender, objArgs)
{
alert(objArgs.value); ----------> always "undefined"
}
</script>