antony beula
Members-
Content count
5 -
Joined
-
Last visited
About antony beula
-
Rank
Forum Newbie
-
Fusion Charts with DrillDown and export to excel in asp.net
antony beula replied to antony beula's topic in FusionCharts and JSP
Hi, As described in above mentioned link,if i use j-format instead of javascript in link property of <set> tag, then also i will get the same problem. Since i have used response.End() method for export to excel, page get refreshed.So only one graph will be displayed.Drilldown graphs will not be generated since these graphs r generated using ajax on click on the graph. -
Fusion Charts with DrillDown and export to excel in asp.net
antony beula replied to antony beula's topic in FusionCharts and JSP
Hi Srividya, How to use j- format in fusionchart for drilldown -
Fusion Charts with DrillDown and export to excel in asp.net
antony beula replied to antony beula's topic in FusionCharts and JSP
Hi Srividhya, thanks a lot for your timing & useful reply. -
Fusion Charts with DrillDown and export to excel in asp.net
antony beula replied to antony beula's topic in FusionCharts and JSP
This code is used for excel export on button click,GridView dg = new GridView(); dg.HorizontalAlign = HorizontalAlign.Center; dg.AutoGenerateColumns = true; dg.CssClass = "Tableheadertext"; dg.CellPadding = 10; dg.HeaderStyle.BackColor = System.Drawing.Color.FromName("#7AABD9"); dg.HeaderStyle.HorizontalAlign = HorizontalAlign.Center; dg.HeaderStyle.CssClass = "Tableheadertext"; dg.AlternatingRowStyle.BackColor = System.Drawing.Color.FromName("#EFF3FB"); dg.RowCreated += new System.Web.UI.WebControls.GridViewRowEventHandler(GridView_Merge_Inference_Header_RowCreated); dg.RowCreated += new System.Web.UI.WebControls.GridViewRowEventHandler(GridView_Merge_BlankHeader_RowCreated); dg.DataSource = ds.Tables[0]; dg.DataBind(); dg.RenderControl(htw); HttpResponse response = HttpContext.Current.Response; response.Clear(); response.Charset = ""; response.ContentType = "application/vnd.ms-excel"; response.AddHeader("Content-Disposition", "attachment;filename="" + filename + """); response.Write(sw.ToString()); response.End(); After clicking this button,if i click on the graph for drilldown it ask for page refresh. if i refresh the page all the drilldown graphs disappear, since the graphs r generated using ajax page. -
Fusion Charts with DrillDown and export to excel in asp.net
antony beula posted a topic in FusionCharts and JSP
Hi, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I have used fusion charts in my web application with drilldown option using javascript & Ajax within a single page. When I click on graph loaded, ajax page will be called and the generated graph is placed in another div tag. Similarly, I have generated 4 graphs in a page on click the graph. I have used session for user identification. After Session get expired, when I click on second graph loaded using ajax how can I redirect to login page.(This is my first issue.) Also I used one linkbutton for exporting excel file. After clicking this linkbutton if I click on graph for further drilldown, it shows error message since I have used resonse.End() method for downloading excel report. Could u please tell me some solutions (or) some other logic for implementing this.