calendar pop up causes validation...
Posted on 2004-08-17
My textbox control is where the date gets inserted into from a pop up calendar. I have a validation control which fires if no date is selected. So a date must be put in the textbox.
I have a link which makes the calendar control page pop up - however when the page pops up the validation is also fired and because the user hasn't selected a date yet, the validation error message is displayed.
What could be causing this? Is it fixable??
My op-up calendar code:
<A class="calLink" onclick="window.open('calendar.aspx?textbox=txtDate','cal','width=141,height=160')"