Hi,
using the DatePicker, I wanted to show the calendar clicking on its Dateinput. This is the cs code I used:
In this way the calendar shows correctly, both when I click on the dateinput and when focusing it. The problem is that selecting a date on the calendar does nothing. No date is written on the dateinput.
When I click on the popup button, instead, it works perfectly.
Any idea?
Thanks.
using the DatePicker, I wanted to show the calendar clicking on its Dateinput. This is the cs code I used:
ForwardCalendar.DateInput.Attributes.Add("onclick", string.Format("$find('{0}').showPopup();", ForwardCalendar.ClientID)); |
ForwardCalendar.DateInput.Attributes.Add("onfocus", string.Format("$find('{0}').showPopup();", ForwardCalendar.ClientID)); |
ForwardCalendar.DateInput.Attributes.Add("onblur", string.Format("$find('{0}').hidePopup();", ForwardCalendar.ClientID)); |
In this way the calendar shows correctly, both when I click on the dateinput and when focusing it. The problem is that selecting a date on the calendar does nothing. No date is written on the dateinput.
When I click on the popup button, instead, it works perfectly.
Any idea?
Thanks.