Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7518215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:41:41+00:00 2026-05-30T01:41:41+00:00

web user control details: <asp:CustomValidator ID=cvServerValidateDate runat=server ControlToValidate=tbDate onservervalidate=cvValidateServer ValidateEmptyText=True ClientValidationFunction=validateDateControl></asp:CustomValidator> iv> <script type=text/javascript>

  • 0

web user control details:

 <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)
      //set validation summary that is outside this web user control somehow???
  }  
</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>

Hi all, I have a web user control that contains a custom validation control that uses the client validation function. The web page that utilizes the web user control contains a validation summary control. Is there a way for the client validation function to access the validation summary control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:41:42+00:00Added an answer on May 30, 2026 at 1:41 am

    Just curious, is there any reason why you want to access the validation summary control from the validation function? If your goal is to make the summary control display error from the custom control, you don’t have to set from the client validation function. It happens automatically.

    Otherwise, I am not sure it is a good idea to make the client validation function dependant on the summary control on the hosting page.

    I apologize in advance if I misunderstood your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.Net web user control that contains a TextBox and a calendar
I have a Web User Control containing a FormView . The formview shows details
I have a web user control that contains several other (web user) controls and
I have a web user control with a dropdownlist inside of it. When the
When you create a new web user control in visual studio it by default
I have an int array as a property of a Web User Control. I'd
Can you use FluentHTML or other alternatives in an web application user control? Can
Currently I'm registering every user control separately in Web.config <pages validateRequest=false> <controls> <add tagPrefix=cc1
We need a special user control for our web application. It should ideally look
I've several web user controls on my asp.net page and I wanna pass values

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.