chart print Preview() problem
Posted: Fri Nov 07, 2008 5:40 am
print preview option not working on web page when i press the button
error Occur
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
my code is that
protected void Button1_Click1(object sender, EventArgs e)
{
Steema.TeeChart.Chart ch3 = teechart1.Chart;
ch3.Printer.Preview();
}
error Occur
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
my code is that
protected void Button1_Click1(object sender, EventArgs e)
{
Steema.TeeChart.Chart ch3 = teechart1.Chart;
ch3.Printer.Preview();
}