JeremyVnc Posted July 15, 2008 Report Share Posted July 15, 2008 I'm having quite a bit of trouble getting my point's or bar's links to work (ie. when you click on a bar in the chart it redirects the user to another page). I'm making these ASP.NET pages robust enough to work in Firefox, IE 6, and IE 7. I have the rendering set to auto. The links work in FF but not in IE 6 or 7. Below is one of my charts and the code behind related to it: </p> <chartfx7:Chart id="Chart1" runat="server" highlight-speed="Fast" allseries-pointlabels-alignment="Center" allseries-pointlabels-linealignment="Center" allseries-pointlabels-textcolor="White" allseries-pointlabels-visible="true" axisy-title-alignment="Center" axisy-title-linealignment="Center" axisy-title-richtext="true" axisy-title-text="Number of Rejects" allseries-border-effect="Shadow" toolbar-border="None" toolbar-dock="Bottom" imagesettings-tooltips="WithMouse" renderformat="auto" randomdata-series="2" randomdata-points="3" plotareamargin-top="10" width="600px"> <SpecialObjects> <chartfxadornments:ImageBorder assemblyname="ChartFX.WebForms.Adornments" type="Emboss"> </chartfxadornments:ImageBorder> <chartfxadornments:GradientBackground assemblyname="ChartFX.WebForms.Adornments" colorfrom="224, 224, 224" effectarea="80" type="Horizontal"> </chartfxadornments:GradientBackground> </SpecialObjects> <AllSeries gallery="Gantt" border-effect="Raised" fillmode="Gradient" pointlabels-visible="True" pointlabels-linealignment="far" pointlabels-textcolor="Black"></AllSeries> <legendbox border="none" dock="bottom" visible="false"></legendbox> <Series> <chartfx7:SeriesAttributes color="0, 0, 132" alternatecolor="50, 120, 193"></chartfx7:SeriesAttributes> </Series> <ToolBar visible="True" dock="Bottom"></ToolBar> <Titles> <chartfx7:TitleDockable text="Test Rejects" font="Arial, 12pt, style=Bold"></chartfx7:TitleDockable> </Titles> </chartfx7:Chart> <p> </p><p> ChartFX.WebForms.Link PointAttrLink; ChartFX.WebForms.Axis Axis = Chart1.AxisX; Chart1.Data.Series = 1; string OptionalSQL = ""; if (TesterDD.SelectedValue != "All") OptionalSQL += "AND Station = " + TesterDD.SelectedValue; if (LineDD.SelectedValue != "All") OptionalSQL += " AND Line = '" + LineDD.SelectedValue + "'"; string sSQL = "SELECT TOP (100) PERCENT COUNT(dbo.TestResult.TestCode) AS num, dbo.TestCode.Description, TestCode.TestCode FROM TestResult INNER JOIN TestCode ON TestResult.TestCode = TestCode.TestCode INNER JOIN UnitTested ON TestResult.Serial = UnitTested.Serial"; sSQL += " WHERE (TestResult.Pass <> '1') AND TestResult.TestDateTime >= '" + Date1.Text + "' AND TestResult.TestDateTime <= '" + Date2.Text + "' AND UnitTested.Model Like '"+ Model.Text + "' " + OptionalSQL; sSQL += " GROUP BY TestCode.Description, TestCode.TestCode ORDER BY num"; DataTable dt = SQLSelect(sSQL); int i = 0; foreach (DataRow dr in dt.Rows) { Chart1.Data[0, i] = double.Parse(dr["num"].ToString()); PointAttrLink = Chart1.Points[0, i].Link; PointAttrLink.Url = "TestResult.aspx?TestCode=" + dr["TestCode"].ToString(); Axis.Labels[i] = dr["TestCode"].ToString() + " - " + dr["Description"].ToString();; i++; } </p><p> Quote Link to comment Share on other sites More sharing options...
Frank Posted July 15, 2008 Report Share Posted July 15, 2008 In IE the chart is being rendered as an active .NET Client control, in FF it is beign rendered as an image. In order for the .NET Client to be able to execute links, it needs full trust. For more info check the following KB articles: Q6141001. Security settings required by the .NET client control URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet62&Source=http://support.softwarefx.com/kb/614/1/001.htm?_r=1 Q7121096. Configuring client for full functionality of .Net charts URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet62&Source=http://support.softwarefx.com/kb/614/1/001.htm?_r=1 Quote Link to comment Share on other sites More sharing options...
JeremyVnc Posted July 23, 2008 Author Report Share Posted July 23, 2008 I have the trust level on Full under the Web.Config and the links still do not work. Quote Link to comment Share on other sites More sharing options...
Frank Posted July 23, 2008 Report Share Posted July 23, 2008 The Trust Level in the client box is what matters not the server. Quote Link to comment Share on other sites More sharing options...
JeremyVnc Posted July 24, 2008 Author Report Share Posted July 24, 2008 ah, thanks! Quote Link to comment Share on other sites More sharing options...
JeremyVnc Posted July 25, 2008 Author Report Share Posted July 25, 2008 I have tried setting the site under the trusted sites list with low security. I have Tried even set my internet zone to Low Security and no luck. Please help. 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.