Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to Change Compare Validator Text

Reply
Thread Tools

How to Change Compare Validator Text

 
 
Peter
Guest
Posts: n/a
 
      03-06-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').erro rmmessage = "New Error
Message";


Thanks


Peter


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Compare Validator A.M ASP .Net 4 08-23-2007 06:12 PM
Compare Validator - fires before text entered is completed =?Utf-8?B?U2FuZHk=?= ASP .Net 3 02-12-2005 11:58 AM
Compare Validator dotnet beginner ASP .Net 1 11-13-2003 08:27 PM
Compare Validator Not working after copy project to web server ? Robbo ASP .Net 0 10-30-2003 06:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57