I have to 2 textboxs with 2 calendar controls. if I click on a date in the first calendar control, the 1st textbox will be populated with this date. Simultaneuosly 7 days have to be added to this date and it should be populated in the 2nd textbox.
Now, if I use onClick event, the 2nd textbox takes whatever the value is there in the first textbox. This event gets fired before I select the date in the calender control. The OnClick event gets fired whenever I click on the calendar control. I want it to get fired when I click a date in the calendar control.