Exforsys

Online Training

Matching Values

This is a discussion on Matching Values within the ASP forums, part of the Programming Talk category; I have two different web form controls in my ASP.NET application. I want to take action based on whether ...


Go Back   Exforsys > Programming Talk > ASP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2007, 02:58 PM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Question Matching Values

I have two different web form controls in my ASP.NET application. I want to take action based on whether the values on the two different web form controls in my ASP.NET application matches with each other. How can I match the two different controls for values?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-14-2007, 04:14 PM
Senior Member
 
Join Date: Apr 2006
Posts: 122
rachelle is on a distinguished road
You can make use of CompareValidator to take action based on whether the values on the two different web form controls in my ASP.NET application matches with each other. The CompareValidator is used for comparing values between two input controls irrespective of its type. The property ControlToCompare of the CompareValidator identifies the name of the control
which is to be compared between each other and the property ValueToCompare can be used for giving values for comparing with input control if needed. So use CompareValidator and match your results.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 06-15-2004 06:00 AM
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 06-01-2004 06:01 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 06:00 AM
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 05-15-2004 06:00 AM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 07:26 AM


All times are GMT -4. The time now is 11:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.