Hello,
I use actually Ajax.Updater from Prototype.js to change Div which contain an ultraChart that work but the Problem ist the Tooltips, if the ultraChart is changing, the Tooltips didnt Work, i am getting "undefined" or some Tooltips from preceed ultraChart.
some solutions ? Please i need it urgently
<div class="csc-textpic csc-textpic-intext-right-nowrap"> <a href="#" onclick="BLOCKED SCRIPTProductToCompany()" title=" PDF exportieren" class="pdfExport"> </a><%= Html.DropDownList("DistributionProductToCompany", (IEnumerable<SelectListItem>)ViewData["KeywordGroups"], new { onchange = "DistributionProductToCompanyChange();" })%> </div> <div id="DistributionProductToCompanyContent"> <igchart:UltraChart ID="UCDistributionProductToCompany" runat="server"> <ClientSideEvents ClientOnMouseClick="BarStacked_ClientOnMouseClick" /> </igchart:UltraChart> <cc1:IGMvcScriptManager ID="IGMvcScriptManager5" runat="server" /> </div>
on Dropdown onchange i call a javascript Function with Ajax.Updater and change the div: DistributionProductToCompanyContent with another ultrachart (and for this new chart, the tooltips doesnt work)
Thank very much
http://samples.infragistics.com/2009.1/WebFeatureBrowser/WebRefreshPanel/BasicAJAXBehavior/ChartInRefreshPanel.aspx
http://samples.infragistics.com/2009.1/WebFeatureBrowser/srcview.aspx?path=WebRefreshPanel/BasicAJAXBehavior/ChartInRefreshPanel.src
the above links are to a sample which uses the chart in a WebAsyncRefreshPanel; there is no full page refresh.
i would also be happy to take a look at your sample project if you have one and see what's happening there.
I use actually asp.net mvc, and 1) it is not possible to get an DropdownList Event on server-side (OnSelectionChange). 2) i try to use use WebAsyncRefreshPanel but the div tag ist not refresh and if i do via javascript all the page is refresh not just the Div tag which i expect to refresh. i will be happy about any suggestion.
Thanks David
it sounds like the image is updated, but not the ImageMap or the JavaScript.
have you tried using the Infragistics WebAsyncRefreshPanel? i think you will have better results with this.
The Javascript use the Ajax.Updater Function of Prototype and use like on this Site : http://weblogs.asp.net/jigardesai/archive/2008/01/26/Simple-AJAX-Get-Request-using-ASP.NET-MVC-and-Prototype.aspx
function UpdateContainer()
{
new Ajax.Updater('CompanyChartContent', '/Home/UpdateCompanyChart?Value=' + dropdownValue, { method: 'get' });
}
CompanyChartContent ist the initial Div Contain with following Chart : <div id="CompanyChartContent"> <igchart:UltraChart ID="ultraChart1" runat="server"> <ClientSideEvents ClientOnMouseClick="Chart_ClientOnMouseClick" /> </igchart:UltraChart> <cc1:IGMvcScriptManager ID="IGMvcScriptManager" runat="server" /> </div>
the UpdateCompanyChart Page contain the same Code below but just ultraChart1 is render with new data. It work fine, just the Tooltips are from the preceed Chart.
i'm not sure what is happening here, but most likely the javascript initialization of the new chart is failing. may i see the javascript function and whatever code is related to changing the div content?
also, do you receive any javascript error messages in your browser window?