Jump to content
Software FX Community

URL don't seem to work in chartfx .net


User (Legacy)

Recommended Posts

Please note that for URLs to work ChartFX needs to be given full trust

(there is no managed API to interact with IE). You can do this on a

strong-name basis or adding a web site to the list of trusted sites and

assign full trust to the "trusted sites zone"

--

Regards,

JC

Software FX Support

"Chris Shinkle" <cmshinkle@sep.com> wrote in message

news:Br1r3zEqCHA.2684@webserver1.softwarefx.com...

>

> i can't seem to get the chart1.url property to work while using the

> chartfx.net control. if i generate an image, they seem to work fine.

>

> can someone please tell me what i am doing wrong?

>

> thanks

> --chris

>

>

Link to comment
Share on other sites

ok... i've tried that, but it still doesn't seem to work.  i am currently

developing on my machine, so i added http://localhost as a trusted site and

then set the security permissions to "low". and then went in and "enabled"

as many of the options as i could.

is there something else i need to do?

i have also included a snippet of my code that i am using to display the

chart using c#:

SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new

SoftwareFX.ChartFX.Internet.Server.Chart(this);

chart1.Gallery = Gallery.Bar;

chart1.Stacked = Stacked.Normal;

Title title1 = chart1.Titles[0];

title1.Text = "Flying Hours";

title1.URL = strMgmtGraphUrl;

chart1.URL = strMgmtGraphUrl;

chart1.DataSourceSettings.DataSource = ds.Tables["FlyingHours"];

chart1.BackColor = System.Drawing.Color.White;

chart1.SerLegBox = true;

Response.Write(chart1.GetHtmlTag(700,500,"AUTO"));

-chris

"Software FX Support" <support@softwarefx.com> wrote in message

news:ibVZuMFqCHA.2684@webserver1.softwarefx.com...

> Please note that for URLs to work ChartFX needs to be given full trust

> (there is no managed API to interact with IE). You can do this on a

> strong-name basis or adding a web site to the list of trusted sites and

> assign full trust to the "trusted sites zone"

>

> --

> Regards,

>

> JC

> Software FX Support

> "Chris Shinkle" <cmshinkle@sep.com> wrote in message

> news:Br1r3zEqCHA.2684@webserver1.softwarefx.com...

> >

> > i can't seem to get the chart1.url property to work while using the

> > chartfx.net control. if i generate an image, they seem to work fine.

> >

> > can someone please tell me what i am doing wrong?

> >

> > thanks

> > --chris

> >

> >

>

>

Link to comment
Share on other sites

The .NET security policies need to be adjusted (in addition to the IE

security policies), do this through the Control Panel-Administrative

Tools-Microsoft .NET Framework Wizards.

--

FP

Software FX Support

"Chris Shinkle" <cmshinkle@sep.com> wrote in message

news:TsTFfWFqCHA.3108@webserver1.softwarefx.com...

> ok... i've tried that, but it still doesn't seem to work. i am currently

> developing on my machine, so i added http://localhost as a trusted site

and

> then set the security permissions to "low". and then went in and

"enabled"

> as many of the options as i could.

>

> is there something else i need to do?

>

> i have also included a snippet of my code that i am using to display the

> chart using c#:

>

> SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new

> SoftwareFX.ChartFX.Internet.Server.Chart(this);

>

> chart1.Gallery = Gallery.Bar;

>

> chart1.Stacked = Stacked.Normal;

>

> Title title1 = chart1.Titles[0];

>

> title1.Text = "Flying Hours";

>

> title1.URL = strMgmtGraphUrl;

>

> chart1.URL = strMgmtGraphUrl;

>

> chart1.DataSourceSettings.DataSource = ds.Tables["FlyingHours"];

>

> chart1.BackColor = System.Drawing.Color.White;

>

> chart1.SerLegBox = true;

>

> Response.Write(chart1.GetHtmlTag(700,500,"AUTO"));

>

> -chris

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:ibVZuMFqCHA.2684@webserver1.softwarefx.com...

> > Please note that for URLs to work ChartFX needs to be given full trust

> > (there is no managed API to interact with IE). You can do this on a

> > strong-name basis or adding a web site to the list of trusted sites and

> > assign full trust to the "trusted sites zone"

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Chris Shinkle" <cmshinkle@sep.com> wrote in message

> > news:Br1r3zEqCHA.2684@webserver1.softwarefx.com...

> > >

> > > i can't seem to get the chart1.url property to work while using the

> > > chartfx.net control. if i generate an image, they seem to work fine.

> > >

> > > can someone please tell me what i am doing wrong?

> > >

> > > thanks

> > > --chris

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...