473,320 Members | 1,838 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,320 software developers and data experts.

Compare validator

Hi,
i m facing problem in compare validator.
firstly
my requirement is like this.
"ToDate should not be less the FromDate,"

so plz help me to find out problem.
Nov 10 '06 #1
2 1454
what problem r u facing?

Post what u have done so far...where are the values coming from e.g textboxes??
Nov 10 '06 #2
nmsreddi
366 256MB
hello

What is your application is it a WebApplication or Windows Application

can you be specific what control you are using to pick the date

you are going for any script (if web application) or using calender control

if not using any control then better go for two different sets of combo boxes

then you can write the dependency condition what ever you need based on from

date you can restrict the to date conmbos just showing the higher values then the fromdate combo


try it out if any problem try to be more specific

regards

nnmsreddi
Nov 13 '06 #3

Sign in to post your reply or Sign up for a free account.

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 “MM/dd/yyyy” but not for “MM/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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.