1
votes

I have shown the crystal report in the ifrmae. But I am unable to export to any format like pdf/excel or any.

2
Is there any error shown in your browser console?Emanuele Greco
Firstly Thanks for your comment. Here is no any error message shown to me also I have checked in the console also.Ram

2 Answers

1
votes

Yes, you got!

protected void Page_Init(object sender, EventArgs e)
{
 ..fill the report..
}

but don't forget to close it (this will avoid report counter to reach the limit!)

protected void Page_Unload(object sender, EventArgs e)
{
 reportDocument.Close();
}
0
votes

Here I got the issue, When you want to export the report in the any format you need to be call your code/function of that report filler in the Pageinit like- protected void Page_Init(object sender, EventArgs e) { // Your code or function call } Then it's definitely works!!! Regards, Ram.