trying to use Telerik Ajaxify Timer to refresh the view at intervals determined by a configuration item

2 posts, 0 answers
  1. Alok
    Alok avatar
    1 posts
    Member since:
    Apr 2012

    Posted 21 Jun 2012 Link to this post

    Hi,

    I am trying to use Telerik Ajaxify Timer to refresh the view at intervals determined by a configuration item . for this i have referred http://demos.telerik.com/aspnet-ajax/ajax/examples/common/ajaxifytimer/defaultcs.aspx link and in my  view.aspx page I have added :

    <telerik:RadAjaxManagerProxy ID="ramDiary" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="TimerRefresh">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="DiarySchedule12" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManagerProxy>
     
    and
     
     <telerik:RadScheduler Width="100%" ID="DiarySchedule12" runat="server" DayView-UserSelectable="false"
                                    DataKeyField="ID" DataSubjectField="Description" DataStartField="Start" DataEndField="End"
                                    WeekView-UserSelectable="False" TimelineView-UserSelectable="False" MonthView-UserSelectable="False"
                                    Height="550px" NumberOfHoveredRows="1" DayStartTime="08:00:00" HoursPanelTimeFormat="HH:mm"
                                    RowHeight="35px" Skin="Outlook" TimeLabelRowSpan="1" WorkDayEndTime="18:00:00"
                                    WorkDayStartTime="08:00:00" ShowAllDayRow="False" Culture="en-GB" ShowFooter="true"
                                    AllowDelete="False" AllowEdit="False" AllowInsert="False" DayEndTime="18:00:00"
                                    EnableExactTimeRendering="True" CustomAttributeNames="Status" ShowNavigationPane="True"
                                    MinutesPerRow="15" StartEditingInAdvancedForm="true" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
                                    OnClientAppointmentContextMenuItemClicked="OnClientAppointmentContextMenuItemClicked">
                                    <ResourceHeaderTemplate>
     </telerik:RadScheduler>
     
    and
     
    <asp:Panel ID="PanelTimer" runat="server">
           <%-- <asp:Timer ID="TimerRefresh" runat="server" Interval="900000" OnTick="TimerRefresh_Tick" />--%>
            <asp:Timer ID="TimerRefresh" runat="server" Interval="3000" OnTick="TimerRefresh_Tick" />
        </asp:Panel>
     And in my  view.aspx.cs page in Page_Load  I have added :

    int btimerRefresh = AM.IntOption("timer_refresh");
     
     
       
               TimerRefresh.Interval = btimerRefresh * 1000;

    Now the 

    The view is  getting refreshed but, I am not getting the image while refreshing diary.

    Please Suggest as it is urgent for me.

    Regards,
    ABC




  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 26 Jun 2012 Link to this post

    Hello Alok,

    Please ensure that you have set Skin property for the RadAjaxLoadingPanel in the control's markup. If this is not the issue please share the RadAjaxLoadingPanel declaration so we could further research on the described issue.

    Regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top