Jump to content
Software FX Community

Printing (vs 2005)


User (Legacy)

Recommended Posts

Chart1.Printer.Print does exist in the Server control, you don't want to 

print the chart in the server.

What exactly are you looking for ? If you wan to print in the client you can

do it either using the provided ui, your browsers print button or Java

Script (if using the .NET client control).

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Thank you for your answer. Clearly I need to print on the client. I have all 

user graph interactions turned off, that´s why I was looking for a method to

do it at run-time by pressing some button on the page.

P.S. I still don´t see the Printer.Print() method. Maybe it´s not available

in trial version?

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:b2Hp48khGHA.1572@webserver3.softwarefx.com...

> Chart1.Printer.Print does exist in the Server control, you don´t want to

> print the chart in the server.

>

> What exactly are you looking for ? If you wan to print in the client you

> can do it either using the provided ui, your browsers print button or Java

> Script (if using the .NET client control).

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

> I was looking for a method to  do it at run-time by pressing some button 

> on the page. ...

You need to do this in Java Script. You are looking for the method in the

wrong class, you will not find it in the server control class. You can NOT

write server-side code that prints a chart in the client.

Are you rendering the chart as an image or as an active client (RederFormat)

?

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

That´s clear. I just find a documentation a bit confusing, since it says 

that print command should be there. As a user I have no idea how it is

technically implemented, maybe it´s done through a AJAX type of call so it

does trigger a client side print command. Maybe documentation part needs

some additional clarification for different scenarios (it´s just a

suggestion) or/and an explanation (example) how to do it on a client side in

a web environment.

I´m rendering chart as an image. I have disabled all interaction with the

graph, so all I have is a an image. I guess I have to write simple

JavaScript function for printing in this case, don´t I?

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:O4uRgllhGHA.2324@webserver3.softwarefx.com...

>> I was looking for a method to do it at run-time by pressing some button

>> on the page. ...

>

> You need to do this in Java Script. You are looking for the method in the

> wrong class, you will not find it in the server control class. You can NOT

> write server-side code that prints a chart in the client.

>

> Are you rendering the chart as an image or as an active client

> (RederFormat) ?

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...