Jump to content
Software FX Community

Point Links not working in IE?


Recommended Posts

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:

<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">
                            <chartfxadornments:ImageBorder assemblyname="ChartFX.WebForms.Adornments" type="Emboss">
                            <chartfxadornments:GradientBackground assemblyname="ChartFX.WebForms.Adornments" colorfrom="224, 224, 224" effectarea="80" type="Horizontal">
                        <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>
                        <chartfx7:SeriesAttributes color="0, 0, 132" alternatecolor="50, 120, 193"></chartfx7:SeriesAttributes>
                        <ToolBar visible="True" dock="Bottom"></ToolBar>
                        <chartfx7:TitleDockable text="Test Rejects" font="Arial, 12pt, style=Bold"></chartfx7:TitleDockable>

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();;
Link to comment
Share on other sites

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


Link to comment
Share on other sites

  • 2 weeks later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...