I have a page that contains an instance of the scheduler. Various links/buttons on the page will cause the scheduler to reload the given appoinments.
Each time the scheduler reloads I want to display the AjaxLoadingPanel over the scheduler control.
I have this working the for an asp:LinkButton on the page but I cannot seem to wire up a RadRotator to the scheduler/AjaxLoadingPanel
Following is code that works:
But this does not work:
Anyone have any ideas?
Thanks.
Each time the scheduler reloads I want to display the AjaxLoadingPanel over the scheduler control.
I have this working the for an asp:LinkButton on the page but I cannot seem to wire up a RadRotator to the scheduler/AjaxLoadingPanel
Following is code that works:
| <telerik:AjaxSetting AjaxControlID="panelShowAll"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="ShowAll" /> |
| <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <table cellpadding="1" cellspacing="1"> |
| <tr> |
| <td align="center"> |
| <asp:Label ID="lblPropertyTitle" runat="server" Font-Bold="true"></asp:Label> |
| <asp:Panel ID="panelShowAll" runat="server"> |
| <asp:LinkButton runat="server" ID="ShowAll" OnClick="ShowAll_Click" Text="(Show All Open Houses)" /> |
| </asp:Panel> |
| </td> |
| </tr> |
| </table> |
But this does not work:
| <telerik:AjaxSetting AjaxControlID="propertyRotator"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <asp:Panel runat="server" ID="PropertiesPanel" HorizontalAlign="Center"> |
| <table cellpadding="0" cellspacing="0"> |
| <tr> |
| <td valign="middle"> |
| <button onclick="$find('<%=propertyRotator.ClientID%>').showNext(Telerik.Web.UI.RotatorScrollDirection.Left);" |
| type="button" class="left"> |
| </button> |
| </td> |
| <td valign="middle"> |
| <telerik:RadRotator ID="propertyRotator" runat="server" Width="300px" Height="250px" ItemHeight="230px" ItemWidth="300px" RotatorType=FromCode ScrollDuration="350" |
| OnItemClick="propertyRotator_ItemClick" OnItemDataBound="propertyRotator_ItemDataBound" > |
| <ItemTemplate> |
| <asp:Panel runat="server" ID="ThumbnailPanel" CssClass='<%# "rsThumbnail ID" + Eval("propertyID") %>' HorizontalAlign="Center"> |
| <asp:LinkButton runat="server" ID="LinkButton1" CommandName="DisplayPropertySchedule" CommandArgument='<%# Eval("propertyID") %>' |
| ToolTip='<%# Eval("title") %>'> |
| <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("url") %>' |
| AlternateText='<%# Eval("title") %>'/> |
| </asp:LinkButton> |
| <asp:LinkButton runat="server" ID="btnPropertySchedule" Text='<%# Eval("title") %>' CommandName="DisplayPropertySchedule" CommandArgument='<%# Eval("propertyID") %>' /> |
| <asp:HiddenField ID="hiddenPropertyId" runat="server" Value='<%# Eval("propertyID") %>' /> |
| </asp:Panel> |
| </ItemTemplate> |
| </telerik:RadRotator> |
| </td> |
| <td valign="middle"> |
| <button onclick="$find('<%=propertyRotator.ClientID%>').showNext(Telerik.Web.UI.RotatorScrollDirection.Right);" |
| type="button" class="right"> |
| </button> |
| </td> |
| </tr> |
| </table> |
| </asp:Panel> |
Anyone have any ideas?
Thanks.
