473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Compare Validator

A.M
Hi,

Can I use compare validator to make sure that the value of two text boxes
are the same?

Thanks,
Alan
Nov 18 '05 #1
3 1742
Yes.

--
Saludos,

Jose Luis Manners, MCP

"A.M" <no*****@online.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi,

Can I use compare validator to make sure that the value of two text boxes
are the same?

Thanks,
Alan

Nov 18 '05 #2
A.M

How?
The ValueToCompare property accepts a value. How can I refer it to text
property of another textbox?

Thanks for reply
Alan
"Jose Luis Manners" <jlmanners(-arroba-)acm.org> wrote in message
news:ew**************@TK2MSFTNGP11.phx.gbl...
Yes.

--
Saludos,

Jose Luis Manners, MCP

"A.M" <no*****@online.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi,

Can I use compare validator to make sure that the value of two text boxes are the same?

Thanks,
Alan


Nov 18 '05 #3
Neo
If you want to compare a specific input control with another input control,
set the ControlToCompare property to specify the control to compare with.
"A.M" <no*****@online.nospam> 写入消息新闻
:ON**************@TK2MSFTNGP11.phx.gbl...

How?
The ValueToCompare property accepts a value. How can I refer it to text
property of another textbox?

Thanks for reply
Alan
"Jose Luis Manners" <jlmanners(-arroba-)acm.org> wrote in message
news:ew**************@TK2MSFTNGP11.phx.gbl...
Yes.

--
Saludos,

Jose Luis Manners, MCP

"A.M" <no*****@online.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi,

Can I use compare validator to make sure that the value of two text boxes are the same?

Thanks,
Alan




Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Bailey via DotNetMonster.com | last post by:
I am using a compare validator with the following code: private void CheckRom() { if (romCheck.Checked == true && romFromText.Text != null && romToText.Text != null) { romCompare.Enabled =...
1
by: dotnet beginner | last post by:
In my webform I check for dirty(textbox values changed), and pop up a confirm dialog box on an asp-Imagebutton click event. I wrote a javascript function (to pop up confirm box) and called it in...
0
by: TN Bella | last post by:
Hi, I am trying to get my compare validator to fire properly...Since I have panels the validator wouldn't work properly, the app would fire right but would insert the data regardless and the...
3
by: Sandy | last post by:
Hi All! I have a password textbox and a verify password textbox. I threw in the compare validator to make sure both values agree. I noticed, however, that immediately the compare validator...
4
by: JIM.H. | last post by:
Hello, I put a compare validator in to my applications and set the type as Date. It works for 鈥淢M/dd/yyyy鈥 but not for 鈥淢M/dd/yyyy hh:mm:ss鈥. How can I validate time part too? Thanks,
3
by: thomson | last post by:
Hi, I have 5 aspx pages, In one page i have a Compare Validator Control, The four aspx pages are loading fast with similar controls, no code behind, But the page having Compare Validator Control...
0
by: David Hearn | last post by:
I have a user control that I created that I use in one page right now. It has a textbox in it that is used to enter a date. I am using a compare validator to validate the date format which works...
0
by: guy | last post by:
I have a simple web form that has 2 password fields, and a compare validator that checks that both are the same - standard stuff. however if nothing is entered in the second password box the...
1
by: vrparekh | last post by:
in my webapplication,user pick date in dd/mm/yy format, and i want to compare that date with another date using compare validator but compare validator compare the dates using mm/dd/yy format. ...
2
by: bogdan | last post by:
Is it possible to have a CompareValidator to compare values from two cells in a gridview row? I'd like to do that while in edit mode. Thanks, Bogdan
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project梡lanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.