lallouna85 Report post Posted February 8, 2008 hello everyone , I am using fusion charts but my problem is I want to load the fusion chart onclick of a button using ASP.net. I tried to put render of the codebehind function and send it from the code behind to the client side, and put the division.innerHTML = value of the render. but its not accepting it because div doesnot accept "<script></script>". The demo of the fusion chart that I have found , they have put the function from the code behind inside a div or td. i.e. <td> <%= getFiscalPerAmount() %></td> or <div id='xyz' runat='server'> <%= getFiscalPerAmount() %> </div> all those are on load. but I want to know how onclick. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted February 8, 2008 hi, what you can is create a <asp:literal id="xyz" runat="server"/> control in your page. Also create a button to run a code from the code behind. In that code instead of response.write you can use: xyz.text=InfoSoftGlobal.FusionCharts.RenderChart(....); Share this post Link to post Share on other sites