fomur Posted October 24, 2008 Report Share Posted October 24, 2008 Hi, I have a problem with ChartFX chart that is not being shown after putting it under an update panel. My gauges are being updated after a triggering event, clicking radio buttons that have auto postback, but chart is not shown after such an event. I am putting my code below. Can you help me? ---BEGIN CODE----<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table style="vertical-align:top; width:800pt"> <tr> <td style="border-style: solid; border-width: thin; vertical-align:top; padding-top:20px; height:50%; width:200pt "> <div style=" padding-bottom:10px; text-align:center"><b>Campaign Type</b></div> <asp:RadioButton ID="All" runat="server" GroupName="Campaign" AutoPostBack="true" Text="All" Width="150px" Checked="true" OnCheckedChanged="SelCampaign" /><br /> ... and other buttons... </td> <td rowspan="2" style="width:600pt"> <chartfx7:Chart ID="Chart1" runat="server" Height="500px" Width="800px" DataSourceID="SampleDBSource" RenderFormat=".NET"> <Series> <chartfx7:SeriesAttributes Text="Budget" Color="#cccccc"></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes Text="Actual" Color="#ff9900"></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes Text="Forecast" Color="#6699ff"></chartfx7:SeriesAttributes> </Series> </chartfx7:Chart> <chartfxannotation:Annotations runat="server" ChartId="Chart1"> </chartfxannotation:Annotations> </td> </tr> </table> ... my gauges and some asp.net elements... </ContentTemplate> </asp:UpdatePanel> ----END CODE---- If you have any clues that you share with me i will really appreciate. Quote Link to comment Share on other sites More sharing options...
Frank Posted October 26, 2008 Report Share Posted October 26, 2008 The Update Panel does not support ActiveX controls properly. Quote Link to comment Share on other sites More sharing options...
laros79 Posted October 30, 2008 Report Share Posted October 30, 2008 Try to use callback using java script var chartUniqueID = getChartUniqueID();document.all('CallbackWaitLabel').style.display = 'inline'; SFX_onCallbackReadyDelegate = function (context, result) {document.all('CallbackWaitLabel').style.display = 'none';SFX_onCallbackReadyDelegate = null;};SFX_RefreshCallbackData();SFX_SendUserCallback(chartUniqueID,parameterValue, false); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.