RadChart with timer

Thread is closed for posting
2 posts, 0 answers
  1. Simone
    Simone avatar
    5 posts
    Member since:
    Apr 2008

    Posted 28 Apr 2008 Link to this post

    Hi All,

    I'm trying RadChart and RadGrid to evaluate if the suite is confortable for my project.

    I've to create a page with a grid that shows some data and below a chart that shows the same other data.
    I need to refresh the chart with a timer.

    On TimerChart_Tick event I rebind the Chart with my data.
    All works fine, but when the chart's RadAjaxPanel refreshs the pager and scroollbar of the grid below, outside the ajaxpanel, move like if the grid it was updated.

    I'don't uderstand the problem,
    thanks and reguards.

    this is the code:


    asp:Panel ID="GridPanel" runat="Server" Visible="False" Width="100%">

    <telerik:RadGrid ID="gwTrend" runat="server" Width="99%">



    <asp:Panel ID="ChartPanel" runat="Server" Visible="True" Width="100%">

    <telerik:RadAjaxPanel EnableOutsideScripts="True" id="RadAjaxPanel1" runat="server" LoadingPanelID="AjaxLoadingPanel1">

    <asp:Timer ID="TimerChart" runat="server" Interval="3000" OnTick="TimerChart_Tick">


    <telerik:RadChart ID="chTrend" runat="server" Height="600px" Width="1000px" AlternateText=""


    <Appearance Border-Color="246,246,246">




    --<YAxis AutoScale="false" Appearance-ValueFormat="General" >



    <XAxis LayoutMode="Normal" AutoScale="false" Appearance-ValueFormat="General" >

    <Appearance MinorGridLines-Visible="false" MajorGridLines-Visible="true" />

    <AxisLabel TextBlock-Text="Tempo" Appearance-Position-AlignedPosition="Center">





    --<Legend Visible="False">

    <Appearance Border-Color="227, 227, 227" FillStyle-FillType="Solid" FillStyle-MainColor="white">






    <TextBlock Text="Server CPU Load by Days">





    <telerik:ChartSeries Name="Series1" Type="Line">

    <Appearance ShowLabels="False" LineSeriesAppearance-Width="3" PointMark-Visible="false"

    FillStyle-MainColor="199, 243, 178" FillStyle-SecondColor="17, 147, 7" Border-Color="dimgray">






    <telerik:RadAjaxLoadingPanel id="AjaxLoadingPanel1" runat="server">

    <div style="TEXT-ALIGN: center">

    <asp:Image id="Image2" Runat="server" BorderWidth="0px" ImageUrl="~/Widgets/Loading.gif"





  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 30 Apr 2008 Link to this post

    Hello Simone,

    Unfortunately we were unable to reproduce the described behavior. Please review the attached sample application and let us know how we could observe the problematic issue.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top