C# Script request: using a calendar control in a datalist within EditItemTemplate
Posted on 2005-05-05
I have tried and failed and searched for info on this with no real satisfactory answer.
I need to use a calendar control within the EditItemTemplate of a DataList. I'm keen to avoid a 'pop-up' calendar so prefer it in the page.
The idea is that there is a form with the following elements
1. A text input field for a date
2. Next to this field is a small calendar icon
3. Beneath this is a calendar control with visibility set to false.
The user clicks the calendar icon and the calendar control appears. Then the user clicks a day and the text box is updated with the selected date and the calendar's visibility is set back to false.
This is easy to do normally, but within a datalist I have problems with the control NOT being recognised.