Can anyone explain why I get the following error?
System.Web.HttpParseException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'. ---> System.Web.HttpException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'.
The Telerik documentation on this page http://www.telerik.com/help/aspnet-ajax/input-client-side-onload.html states the following:
The OnLoad event is supported by all RadInput controls.
Here's my markup:
<telerik:RadDateTimePicker
ID="m_dpTargetDate"
runat="server">
<ClientEvents OnLoad="m_dpEventBegin_Load" />
</telerik:RadDateTimePicker>
<script type="text/javascript">
var m_dpEventBegin = null;
function m_dpEventBegin_Load(sender, args) {
m_dpEventBegin = sender;
}
</script>
I can get other client-side events to fire.
Any help would be greatly appreciated.
System.Web.HttpParseException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'. ---> System.Web.HttpException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'.
The Telerik documentation on this page http://www.telerik.com/help/aspnet-ajax/input-client-side-onload.html states the following:
The OnLoad event is supported by all RadInput controls.
Here's my markup:
<telerik:RadDateTimePicker
ID="m_dpTargetDate"
runat="server">
<ClientEvents OnLoad="m_dpEventBegin_Load" />
</telerik:RadDateTimePicker>
<script type="text/javascript">
var m_dpEventBegin = null;
function m_dpEventBegin_Load(sender, args) {
m_dpEventBegin = sender;
}
</script>
I can get other client-side events to fire.
Any help would be greatly appreciated.