Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35)
asked on 06 Apr 2009, 12:38 PM
Hi All
I have a radgrid with datas and two buttons (Export to pdf) and (Send Email)
While clicking (Export to pdf) the pdf opens with the datas
While clicking (Send Email). I have done all the things same as export to pdf. After that I have done sending the email options.
and doing the attachment etc,. So after doing all these things I have to callback the Export to pdf.
My coding
I have a radgrid with datas and two buttons (Export to pdf) and (Send Email)
While clicking (Export to pdf) the pdf opens with the datas
While clicking (Send Email). I have done all the things same as export to pdf. After that I have done sending the email options.
and doing the attachment etc,. So after doing all these things I have to callback the Export to pdf.
My coding
protected
void Button5_Click(object sender, EventArgs e)
{
rgvReport.MasterTableView.ExportToPdf();
//Now I have done the coding for sending the email attachment etc
//It is been taken when the pdf is generating.
//Atlast
-----
Here i want to cancel the exportToPdf
-----
}
Is there any way for it
-Anto
6 Answers, 1 is accepted
0
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
answered on 07 Apr 2009, 07:45 AM
still no response?
you guys have been great with quick responses in the past.
not sure why this post is getting overlooked?
you guys have been great with quick responses in the past.
not sure why this post is getting overlooked?
0
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
answered on 07 Apr 2009, 09:36 AM
Anybody there, to make a reply
0
Hello Anto,
It's not possible to cancel the export that way. In my previous answer I suggested that you use an approach, which will not require to cancel the PDF export because the output isn't displayed on the screen.
Best regards,
Daniel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
It's not possible to cancel the export that way. In my previous answer I suggested that you use an approach, which will not require to cancel the PDF export because the output isn't displayed on the screen.
Best regards,
Daniel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
answered on 09 Apr 2009, 12:47 PM
Hi Daniel
Thank you very much for your valuable reply.
You are right. But it is just an example for sending an email with an attachment.
But my senario is:
While i click the [Send Email] button.
The datas is the grid must be exported to pdf and it must be attached to the mail and it must be sent with a confirmation.
For this I have done the concept of Export To PDF and i have saved it programmatically.
I have attached the saved file programmatically. and I have sent to the mail(predefined mail address).
After all these are done a Confirmation alert appears "Mail Sent Successfully......"
After this the pdf file opens. This is due to the season I have used the same coding of [Export To pdf]
Till now i have not sort this problem. have to.
-Anto
Thank you very much for your valuable reply.
You are right. But it is just an example for sending an email with an attachment.
But my senario is:
While i click the [Send Email] button.
The datas is the grid must be exported to pdf and it must be attached to the mail and it must be sent with a confirmation.
For this I have done the concept of Export To PDF and i have saved it programmatically.
I have attached the saved file programmatically. and I have sent to the mail(predefined mail address).
After all these are done a Confirmation alert appears "Mail Sent Successfully......"
After this the pdf file opens. This is due to the season I have used the same coding of [Export To pdf]
Till now i have not sort this problem. have to.
-Anto
0
Accepted
Hello Anto,
Please test the example I attached in the following thread.
FORUM THREAD
Regards,
Daniel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Please test the example I attached in the following thread.
FORUM THREAD
Regards,
Daniel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
answered on 11 Apr 2009, 05:12 AM
Hai Daniel
Thank you very much
This is the one, which I was waiting for a long time.
-Anto
Thank you very much
This is the one, which I was waiting for a long time.
-Anto