I have a RadDateTimePicker on a page of my C# DotNet 4.0 web app.
The idea is that every time the selected date changes, the event handler updates a text box.
This is intended to be an Ajax event, not a full page postback.
To this end, the controls are set up in the RadAjaxManager as follows:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rdtDateTime">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="txtCount" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
This works perfectly, unless in the page load event I set the SelectedDate property of the RadDateTimePicker.
If I do that the SelectedDateChanged event stops firing.
Suggestions?
The idea is that every time the selected date changes, the event handler updates a text box.
This is intended to be an Ajax event, not a full page postback.
To this end, the controls are set up in the RadAjaxManager as follows:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rdtDateTime">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="txtCount" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
This works perfectly, unless in the page load event I set the SelectedDate property of the RadDateTimePicker.
If I do that the SelectedDateChanged event stops firing.
Suggestions?