I have a problem with the RadDatePicker's Event "selectedDateChanged". It raises without problems if it was created in the Markup, and the eventhandler is attached there such as:
If this Control is created by code, NO Eventhandler will fire:
I searched for help here in the forum but I didn't get the trick to let the Handler fire....
Please help ;)
Thanks already
Frithjof
| <rad:RadDatePicker ID="rdp1" AutoPostBack="true" runat="server" |
| onselecteddatechanged="rdp1_SelectedDateChanged"></rad:RadDatePicker> |
If this Control is created by code, NO Eventhandler will fire:
| RadDatePicker rdp = new RadDatePicker(); |
| rdp.SelectedDate = new DateTime(2009, 5, 4); |
| rdp.AutoPostBack = true; |
| rdp.SelectedDateChanged += new SelectedDateChangedEventHandler(rdp_SelectedDateChanged); |
| this.Controls.Add(rdp); |
I searched for help here in the forum but I didn't get the trick to let the Handler fire....
Please help ;)
Thanks already
Frithjof