|
Rank: Newbie Groups: Member
Joined: 3/17/2014 Posts: 3
|
Hi,
We're using MVC to PDF and everything is working great except the ResultFileName isn't working.
[RenderAsPDF(ResultAsDownload=true, SendToClient=true)] public ActionResult Index(int id) { EO.Pdf.HtmlToPdf.Options.OutputArea = new RectangleF(0.25f, 0.25f, 8f, 10.5f); MVCToPDF.ResultFileName = "PDF Output File"; // we're actually populating the name dynamically return RenderHtml(id); }
Any ideas why? Is this a bug or are we doing something wrong? It just saves every file as Index (or the name of the controller action).
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have confirmed this to be a bug. We will fix it and provide a new build to you as soon as possible.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have posted a new build that should fix this problem. You can download the new build from our download page. Please take a look and let us know how it goes!
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/17/2014 Posts: 3
|
Wow! Thanks a lot for the quick response and bug fix. We will test this shortly and let you know if it is resolved.
Thanks again - impressive support.
|
|
Rank: Newbie Groups: Member
Joined: 3/17/2014 Posts: 3
|
We confirmed that this is now fixed. We've been impressed by your html to pdf API and am further impressed by your support.
Thanks again.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Glad to hear that! Please feel free to let us know if there is anything else.
Thanks!
|
|