|
Dear Friend,
I want date in a dd/mm/yyyy format with validation in TextBox. Is anybody guide me how shall ?
As I got date with dd/mm/yyyy but it will also accept 32/02/2005. Though Feb has less 30 days.
Also when I compare two textbox it will not evalute properly. eg I want TextBox2 date greater then TextBox1. So I had used
CompareValidator, & select type="date" but it will not evalute.
Pl guide me.
Thanking You,
|
|
|
for comparision you have to write javascript manually - that really improves performance - you can get many codes from internet. for date format - check your system date/time settings format.. sometimes eventhough you fecth properly from database or system.date - IE will formats it based on Computer's default setting. Try Format() in ASP.net .. also.
|
|
|
|
|
|
|
// |