Important Information about the Web User Control:
<asp:CustomValidator ID="cvServerValidateDate" runat="server"
ControlToValidate="tbDate" onservervalidate="cvValidateServer"
ValidateEmptyText="True" ClientValidationFunction="validateDateControl"></asp:CustomValidator>
iv>
<script type="text/javascript">
function validateDateControl(){
if (args.IsValid == false)
//How can I access a validation summary outside of this web user control??
}
</script>
Client Page of Web User Control
<html>
<head></head>
<body>
<uc1:DateTimePicker ID="dtDateNotified" runat="server" />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" />
</body>
</html>
Hello everyone, I am working with a web user control that has a custom validation control utilizing client validation functions. The page using the control also has its own validation summary. How can I make the client validation function interact with the validation summary control?