Hi all,
i aw working in winforms c#. for reporting we use crystal reports
The snapshot what you see is the crystal report. From crystal report we export to pdf or any. As soon as i click the print icon on the left side a new pop up to export to pdf opened
When this pop up is opened i just want to make selection in the form back of it(check or uncheck the two check boxes).Depending on the two check boxes i need to generate as both excel and pdf. how to make the form active when print dialog is opened.please anyone help.

VulpesPosted Nov 5, 2014, 2:06 PM
You can't even change this behavior by sub-classing it as the SaveFileDialog class is sealed.
However, if it's not the standard SaveFileDialog but a customized one, then you should be able to change the focus to another form as long as you open the dialog using the Show() rather than the ShowDialog() method.
VulpesPosted Nov 6, 2014, 5:58 AM
I had a quick google to see if anyone had done something like this before but couldn't find anything.
It would clearly be a lot of work to do this from scratch and I think I'd look for an alternative solution such as making sure these checkboxes are dealt with before opening the SaveFileDialog and setting the latter's properties accordingly.
prathaban duraiPosted Nov 6, 2014, 2:19 AM