|
Created by
Darren Talbot
|
|
1/25/2007 8:42:38 AM
|
|
Please allow the option to embed images into the HTML source when exporting a report as HTML to allow for easier emailing of the report.
Create a new overload RPT.CreateHTMLDocument (S as stream, Title as string, EmbedImages as Boolean)
|
|
|
Reviewed by
DevExpress Team
|
|
1/25/2007 12:25:18 PM
|
|
|
Processed (Insufficient information) by
DevExpress Team
|
|
1/25/2007 3:01:14 PM
|
Hello Darren, Thank you for your suggestion. Could you please clarify why exporting to MHT doesn't help you (when all images are exported into a single MHT file)? Also, how are you exporting and emailing reports in your application? Could you please provide us with a sample project to better understand your suggestion? This would be greatly appreciated! Thanks, Alan.
R&D, .NET Team.
|
|
Reactivated by
Darren Talbot
|
|
1/26/2007 7:34:01 AM
|
Exporting to MHT only allows me to send the file as an attachment. I would like to send the report as a HTML email e.g
Public Sub EmailTo(ByVal EmailAddress As String, Subject as string, ByVal From As String)
Dim BodyText As String = ""
Using MS As New IO.MemoryStream
Me.CreateHtmlDocument(MS, "QM Email")
Dim enc As Encoding = Encoding.UTF8
BodyText = enc.GetString(MS.ToArray)
End Using
Using MM As New System.Net.Mail.MailMessage(From, EmailAddress, Subject, BodyText)
MM.IsBodyHtml = True
Dim SMTP As New System.Net.Mail.SmtpClient(MySMTPServer, 25)
SMTP.Send(MM)
End Using End Sub
|
|
Updated by
DevExpress Team
|
|
1/26/2007 10:47:20 AM
|
Hello Darren, Ok, now I understand what you mean, thank you. We'll see what we can do in this regard, and I'll inform you of the results of our investigation. Thanks, Alan.
R&D, .NET Team.
|
|
Processed (Accepted - release TBD) by
DevExpress Team
|
|
1/29/2007 1:54:40 PM
|
|
|
Updated by
DevExpress Team
|
|
1/30/2007 8:52:10 AM
|
Hello Darren, We've investigated the problem and unfortunately can't find an easy way of implementing this feature quickly. Nevertheless, we've added your feature request to our TO DO list, and we'll try to implement it when we find additional resources. Please, bear with us. Thanks, Alan.
R&D, .NET Team.
|
|
Updated by
DevExpress Team
|
|
8/5/2009 5:23:10 PM
|
Hello, Unfortunately, this suggestion isn't yet implemented in the current version of the suite.
As workaround, it's possible to use the approach shown in the Embedded images when exporting Devexpress XtraReport to HTML blog post. Thanks,
Andrew
|
|
Reactivated by
Darren Talbot
|
|
8/5/2009 5:48:44 PM
|
I know. That's my blog :-)
|
|
Processed (Accepted - Release TBD) by
DevExpress Team
|
|
9/1/2009 9:07:58 AM
|
Hello Darren, Thank you for the feedback. Since, unfortunately, this suggestion isn't implemented yet, we've added this link in order to provide a possible workaround for all users, tracking this suggestion. Thank you for the cooperation. We'll continue our investigations and keep you informed on any progress. Thank you,
Valery
|