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%">
</telerik:RadGrid>
</asp:Panel>
<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">
</asp:Timer>
<telerik:RadChart ID="chTrend" runat="server" Height="600px" Width="1000px" AlternateText=""
EnableViewState="false">
<Appearance Border-Color="246,246,246">
</Appearance>
<PlotArea>
<%
--<YAxis AutoScale="false" Appearance-ValueFormat="General" >
</YAxis>--
%>
<XAxis LayoutMode="Normal" AutoScale="false" Appearance-ValueFormat="General" >
<Appearance MinorGridLines-Visible="false" MajorGridLines-Visible="true" />
<AxisLabel TextBlock-Text="Tempo" Appearance-Position-AlignedPosition="Center">
</AxisLabel>
</XAxis>
</PlotArea>
<%
--<Legend Visible="False">
<Appearance Border-Color="227, 227, 227" FillStyle-FillType="Solid" FillStyle-MainColor="white">
</Appearance>
</Legend>--
%>
<%
--<ChartTitle>
<TextBlock Text="Server CPU Load by Days">
</TextBlock>
</ChartTitle>--
%>
<Series>
<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">
</Appearance>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
</telerik:RadAjaxPanel>
<telerik:RadAjaxLoadingPanel id="AjaxLoadingPanel1" runat="server">
<div style="TEXT-ALIGN: center">
<asp:Image id="Image2" Runat="server" BorderWidth="0px" ImageUrl="~/Widgets/Loading.gif"
AlternateText="loading..."></asp:Image>
</div>
</telerik:RadAjaxLoadingPanel>
</asp:Panel>