Hi
I have implemented Export to Excel into my application using the code in your sample but I am getting :
SecurityException : Dialogs must be user-initiated
on the following line :
bool
? showDialog = dialog.ShowDialog();
Any ideas how to get arond this?
Thanks
Kevin
Hi Kevin
Could you try with moving dialog.ShowDialog() call to the first line of your OnClick function and set a breakpoint on some line after it, because there is a timeout in which the Dialog window should be shown.
Thanks,George