Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am not understanding why this is happening. Please someone help me.
Posted
Comments
Rahamani 10-Mar-14 4:19am    
But it is working fine in local system with the format dd/MM/yyyy.I have not changed any format for Range validator.

Hai

change date format in server or in ranger validator control, ur server system have dd/MM/yyyy and in ur range validator date format is MM/dd/yyyy .

So change any one,if it both are same then only work correctly.

1. Chnage date form in server systme to MM/dd/yyyy OR
2. Chnage date format in validation control in properties as dd/MM/yyyy

I think better to change validation control date format based on server system date format


Regards
Aravind
 
Share this answer
 
v2
Comments
Rahamani 10-Mar-14 2:46am    
How to Change date format in validation control in properties as dd/MM/yyyy
Set the MinimumValue and MaximumValue of the RangeValidator to your preferred format .

Refer

date-format-in-rangevalidator[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900