Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem with post back

Newbie
 
Join Date: Jan 2007
Posts: 1
#1: Jan 25 '07
Hi,
I am using a date picker control in my form. I have binded the control with a regular expression validator. When i type the date in the datepicker control it is getting validated. But when i use the datpicker to select the date. The selected date is not getting posted to the server. So the validation is not happening. If i have made any mistakes previously the error message doesnot go even after i select the correct date from the date picker. I feel the datepicker control doesnot post the textchange to the server. Please help me in this. I had already set the autopostback property to true.

Thanks and regards,
Bharath

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Jan 25 '07

re: Problem with post back


Quote:

Originally Posted by bharathbvb

Hi,
I am using a date picker control in my form. I have binded the control with a regular expression validator. When i type the date in the datepicker control it is getting validated. But when i use the datpicker to select the date. The selected date is not getting posted to the server. So the validation is not happening. If i have made any mistakes previously the error message doesnot go even after i select the correct date from the date picker. I feel the datepicker control doesnot post the textchange to the server. Please help me in this. I had already set the autopostback property to true.

Thanks and regards,
Bharath

Is your date picker creating the date in the format you want. You might have to post your codes.
Reply


Similar JavaScript / Ajax / DHTML bytes