Hello guys,
Im created an OnPopupOpening event for my Calendar control so that when a user clicks on the calendar control, i fire some javascript to control a few radio buttons on the page. The code ive got so far is :
<telerik:RadDatePicker id="radLastApplication" runat="server">
<ClientEvents OnPopupOpening="setRadioButtonsOnPage();" />
</telerik:RadDatePicker>
<script type="text/javascript">
Telerik.Web.UI.Calendar.Popup.prototype.OnClick = function(e) {
this.Opener.hidePopup();
}
</script>
However with this code, my javascript fires correctly but the calendar wont display!! how can i get the calendar to display as well as fire my little javascript code too?
any help would be greatly appreciated!!
Cheer
Zef
Im created an OnPopupOpening event for my Calendar control so that when a user clicks on the calendar control, i fire some javascript to control a few radio buttons on the page. The code ive got so far is :
<telerik:RadDatePicker id="radLastApplication" runat="server">
<ClientEvents OnPopupOpening="setRadioButtonsOnPage();" />
</telerik:RadDatePicker>
<script type="text/javascript">
Telerik.Web.UI.Calendar.Popup.prototype.OnClick = function(e) {
this.Opener.hidePopup();
}
</script>
However with this code, my javascript fires correctly but the calendar wont display!! how can i get the calendar to display as well as fire my little javascript code too?
any help would be greatly appreciated!!
Cheer
Zef