PC Review


Reply
Thread Tools Rate Thread

How to Change Compare Validator Text

 
 
Peter
Guest
Posts: n/a
 
      6th Mar 2008
ASP.NET 2.0

How do I change CompareValidator ErrorMessage text with JavaScript or on the
ClientSide at runtime?

I have tried the following but it has no effect
document.getElementById('MyCompareValidator').errormmessage = "New Error
Message";


Thanks


Peter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compare validator Mr. SweatyFinger Microsoft ASP .NET 2 7th Mar 2007 08:21 PM
Compare Validator does not fire Dave Bailey via DotNetMonster.com Microsoft C# .NET 0 21st Apr 2005 04:55 PM
Compare Validator - fires before text entered is completed =?Utf-8?B?U2FuZHk=?= Microsoft ASP .NET 3 12th Feb 2005 11:58 AM
Compare Validator A.M Microsoft ASP .NET 3 23rd Jun 2004 11:28 PM
Compare Validator dotnet beginner Microsoft ASP .NET 1 13th Nov 2003 08:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.