I have created a scheduler and associated advanced form based on the examples and that is working nicely. I went back in to add the export functions and based on the sample...
The page posts back, but nothing happens??
<AppointmentTemplate>
<%--<div style="color: #ffffff; font-size: medium;">--%>
<strong style="color: #ffffff">Title:
<%#Eval("Subject") %>
<br />
Type:
<%# Eval ("reservation_type") %>
<br />
Resource:
<%--<asp:Label ID="lblResourceTitle" runat="server"></asp:Label>--%>
</strong>
<%-- </div>--%>
<div style="text-align: right;">
<asp:Button runat="server" ID="Button1" CssClass="rsExportButton" ToolTip="Export to iCalendar"
CommandName="Export" OnClientClick="Export(this, event); return false;" Style="cursor: pointer;
cursor: hand;" />
</div>
</AppointmentTemplate>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
<script type="text/javascript"> |
function Export(sender, e) { |
$find("<%= RadAjaxManager1.ClientID %>").__doPostBack(sender.name, ""); |
} |
</script> |
</telerik:RadCodeBlock> |
<AppointmentTemplate>
<%--<div style="color: #ffffff; font-size: medium;">--%>
<strong style="color: #ffffff">Title:
<%#Eval("Subject") %>
<br />
Type:
<%# Eval ("reservation_type") %>
<br />
Resource:
<%--<asp:Label ID="lblResourceTitle" runat="server"></asp:Label>--%>
</strong>
<%-- </div>--%>
<div style="text-align: right;">
<asp:Button runat="server" ID="Button1" CssClass="rsExportButton" ToolTip="Export to iCalendar"
CommandName="Export" OnClientClick="Export(this, event); return false;" Style="cursor: pointer;
cursor: hand;" />
</div>
</AppointmentTemplate>