I am trying to use a custom validator inside of a Datagrid...(forgive me I am going off of memory here)- no client side javasript.
<asp:CustomValidator id="cv_categories" runat="server" CommandName="ServerValidate"> </asp:CustomValidator>
cs-
public void ServerValidate(object Send, etc args)
{
args.IsValid=false;
}
It is firing the method and setting args.IsValid to false but still allows the user to update and return from the edititem event (the undesired result). Any ideas would be greatly appreciated..
-Wayno
<asp:CustomValidator id="cv_categories" runat="server" CommandName="ServerValidate"> </asp:CustomValidator>
cs-
public void ServerValidate(object Send, etc args)
{
args.IsValid=false;
}
It is firing the method and setting args.IsValid to false but still allows the user to update and return from the edititem event (the undesired result). Any ideas would be greatly appreciated..
-Wayno