• Content count

  • Joined

  • Last visited

About AndyButler

  • Rank
    Forum Newbie
  1. Updatepanel In Content Page

    Have you done this ? 1. this below goes in the .aspx page <script language="javascript" type="text/javascript"> //Call Ajax PostBack Function function updateChartBreakDown(Id) { // Call drillDown C# function by Ajax //we pass the name of the function ('drillDown') to call //and the parameter (i.e., factoryId) to be passed to it //both separated by a delimiter(here we use $, you can use anything) __doPostBack( "<%= PnlLineTime.UniqueID%>", "drillDown$" + Id); } </script> 2. Add this to the top of the page make sure the js is there? <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"> <Scripts> <asp:ScriptReference Path="updatepanelhook.fusioncharts.js" /> </Scripts> </asp:ScriptManagerProxy>
  2. Hi. I have drill down charts on a page they work fine using the javascript:UpdateChart method. On one chart when i click i show a datagrid with data in that works all fine I have a button next the data grid to export to excel/csv which works fine. This is all inside update panels. I use the <Triggers> <asp:PostBackTrigger ControlID="ibtExportToExcel" /> </Triggers> tags to make it work. we create the csv. and then use this to export the data. Response.Charset = "" Response.Clear() Response.AddHeader("content-disposition", String.Format("attachment; filename={0}.csv", strName)) Response.Charset = "" 'Response.Cache.SetCacheability(HttpCacheability.NoCache) Disabled due to the error 'Internet explorer cannot download reports.aspx from internet explorer was not able to open this internet site Response.ContentType = "application/vnd.csv" Response.Write(swrWriter.ToString) ' Write the HTML back to the browser. Response.End() But when i go back to the page all the drill downs stop working and the javascripts arent be called from the charts. Other javascripts work fine.
  3. Updatepanel In Content Page

    Did you resolve this as i'm having the same issue?
  4. Update Panel Problems

    Not quality, Quantity Please can somebody help I'm at a complete loss. I cant be the only person using a master page with a graph in an update panel and trying to make the graph change on a button click. Please Please can somebody help thanks Andy
  5. Update Panel Problems

    Hi, Can somebody help please. I have a page which is in a master page, I have a graph which dispalys no problem i have 2 button next to the graph all in the same update panel. One loads the graph with data showing stock items by value and the other by quality. When i press the button the graph disappears and the word chart. is all that shown. If i change the page load i can show either type of graph no problem but a sson as i change to the type say qty to value the graph disappears. Not sure why are there special script tags i need for update panels and a master page. I have tried all the downloadable examples and copied them i have been trying for hours and the same ting happens. Please can should show an example or point me the right direction? thanks Ansy
  6. Hi, I bought the personal addition for a demo we were doing and i got things working on our development machine no problem (64bit windows 8 visual studio 2005.) But when i try and rollout to the web server for the demo it doesnt work it says the javascript can't be found message undefined . Am i doing something wrong the web server is 2008 64bit iis 8 ? The page just says chart. on it i have the path to javascript set up correct.<SCRIPT type="text/javascript" src="../FusionCharts/FusionCharts.js"></SCRIPT> Please help thanks Andy
  7. Dilldown Help

    HI, I got hold of fusion charts yesterday and I'm having an issue with drilldowns I want to have one chart on the page click on it and a lower chart appear with extra detail in keep bothi on the screen at the same time. I have download the management example which has many charts in and it does what i want except i cant edit or debug the code to work. So how do i get what i want? I know its a rookie question. I'm using Asp.Net (VB) visual studio 2005. I know i could use the link in the xml to go to the same page with a key in the url but the management example seems to be sweeter than that and does it smoother. As doing the the link way reanimates the top chart. So i'm asking is that the only way using the link and put a key in the url? (Eg. Default.aspx?ID=1) Or is there a better way? And how do they do it in the management dashboard demo i have download from the fusion charts? Sorry new to forums and fusion chart i hope that made sense? Thanks