Textbox viewstate - Javascript date picker
-
Hi, In my web application, I have a series of text boxes for date entry. Next to those boxes, i have a line that invokes and javascript calendar. Now, the calendar shows up just fine - the date that I select is populated in the textbox - Problem is that, If I create a postback by clicking on any server control, the dates that were populated using the javascript date picker disappears. For the same textboxes, if i type the date manually and create a postback, the value appears after the round-trip. I am not sure what causes this behaviour. Do you have a clue ? Thanks! Harry :-)
-
Hi, In my web application, I have a series of text boxes for date entry. Next to those boxes, i have a line that invokes and javascript calendar. Now, the calendar shows up just fine - the date that I select is populated in the textbox - Problem is that, If I create a postback by clicking on any server control, the dates that were populated using the javascript date picker disappears. For the same textboxes, if i type the date manually and create a postback, the value appears after the round-trip. I am not sure what causes this behaviour. Do you have a clue ? Thanks! Harry :-)
I do something similar with a couple of searches, and set the value with javascript. Everything works fine on the post back. Scan the data posted back to the page and make sure the corrent data is being sent on the post. I may be working, but I'm not working for you. - Superchunk