Hi,
I’m using Aspose reporting services in my page to show some reports on word document, I have this case and I can’t find a solution for it:
I have aspx page that contains a dropdown list, this list contains print link item, when I choose this item from the list it’s supposed to show me a dialog panel to open my report on a word document, this work fine with me I get the dialog panel but if I clicked on cancel button on this dialog panel I will have a strange behavior!! The behavior is that I get the same dialog panel again and again when I click in any button on the page or when I do any post back on the page!!
Here is my code that I used to show the dialog panel:
document.ViewOptions.ViewType = ViewType.PageLayout;
document.Protect(ProtectionType.ReadOnly,Guid.NewGuid().ToString("N"));
document.Save(String.Format("{0}_{1:yyyyMMddHHmmss}.doc", docType, DateTime.Now), SaveFormat.Doc, Aspose.Words.SaveType.OpenInWord, httpResponse);
httpResponse.End();
document is of type “Aspose.Words.Document”
httpResponse is of type “System.Web.HttpResponse”
I’m using Aspose methods to show this dialog so the problem comes from there, how can I end this behavior after I click cancel on the dialog panel!!?
Thanks,
Hussam