following the demo here - http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx
I get a script error on ": 'demo' is undefined" on "demo.ajaxManager = $find("ctl03_RadAjaxManager1")"
here is the script:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadScriptBlock runat="Server" ID="RadScriptBlock1">
<script type="text/javascript">
/* <![CDATA[ */
Sys.Application.add_load(function () {
demo.ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
});
/* ]]> */
(function () {
var demo = window.demo = window.demo || {};
window.Export = function (sender, e) {
demo.ajaxManager.__doPostBack(sender.name, "");
}
}());
</script>
</telerik:RadScriptBlock>