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


    I am trying to use Telerik Ajaxify Timer to refresh the view at intervals determined by a configuration item . for this i have referred link and in my  view.aspx page I have added :

    <telerik:RadAjaxManagerProxy ID="ramDiary" runat="server">
                <telerik:AjaxSetting AjaxControlID="TimerRefresh">
                        <telerik:AjaxUpdatedControl ControlID="DiarySchedule12" LoadingPanelID="LoadingPanel1" />
     <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"
    <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" />
     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.


  2. Maria Ilieva
    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.

    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