我从stimulsoft论坛获取此代码,我想在asp.net中做同样的事情,相当于网络中的DialogResult.OK?
private void report_Printing(object sender, EventArgs e)
{
StiReport report = sender as StiReport;
if ((report.PrinterSettings.PrintDialogResult == DialogResult.OK))
{
MessageBox.Show("Printing");
}
stiVewForm.Close();
}