Solved

How do I call a javascript function from within a RequiredFieldValidator?

Posted on 2008-10-20
2
479 Views
Last Modified: 2012-06-27
I am working on asp web page. I want to replace a label with a RequiredFieldValidator message when an error occurs. To achieve this I want to call a javascript function from within the RequiredFieldValidator to trigger the replacement. Can this be done and if so how?

Thanks
0
Comment
Question by:xdubit
2 Comments
 
LVL 9

Expert Comment

by:deathtospam
ID: 22760197
This question should be moved to the ASP.NET zone.
0
 

Accepted Solution

by:
xdubit earned 0 total points
ID: 22774820
OK, thanks.

Moved it and solution found ;)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to count in a table in php 22 36
Set differnt row widths in a table. 3 23
div to fit another div 8 23
Html form and modal / img src -problem 3 12
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question