Home All Groups Group Topic Archive Search About
Author
8 Feb 2006 5:46 PM
Ben Crinion
Hi

I implemented a drop down calendar as a user control and i want to edit the
__dopostback javascript function to catch the calendars postback and set the
value of a textbox to the selected date.

The problem i am having is that the eventArgument which gets passed to the
__doPostBack function is a 4 digit integer and i dont know how to convert
this to a date.

If anyone can either help with this conversion or even suggest a good free
drop down calendar control i would be very greatful.

Thanks
Ben Crinion

Author
9 Feb 2006 3:29 PM
DWS
Ben if your building fron the asp calendar as part of your drop down calendar
you can access the selected date in the SelectedDate property.
Good Luck
DWS


Show quoteHide quote
"Ben Crinion" wrote:

> Hi
>
> I implemented a drop down calendar as a user control and i want to edit the
> __dopostback javascript function to catch the calendars postback and set the
> value of a textbox to the selected date.
>
> The problem i am having is that the eventArgument which gets passed to the
> __doPostBack function is a 4 digit integer and i dont know how to convert
> this to a date.
>
> If anyone can either help with this conversion or even suggest a good free
> drop down calendar control i would be very greatful.
>
> Thanks
> Ben Crinion
>
>
>