ExportToHTML

edited 12:07PM in FastReport Studio
hi all,
i create one Report by FastReport Studio in my web site in VS2005 i want to disply Report on other page in IE when user click on one button ,for this work i used from IfrxBuiltinExportsEx interface :
TfrxReportClass frx;
...
exports = frx as IfrxBuiltinExportsEx;
ExportTo = Server.MapPath("countries.html");
frx.ExportToHTML(ExportTo, false, true, false, true, false, false);

and then by javascript command open countries.html file that report exist in it ....

but when i used from this way in my project is created two files with names main.html and nav.html i don't want to create these files, what can i do ?
also i need craete one file with name countries.html in my project but i don't want create it , what can i do?
at last if number of user of my site is greater than 1 , has this way problem or no becuse i created only one file with countries name (countries.html) in my project...

please provide beter way if do you know or provid one sample for me if can you!...

regards

Comments

  • edited December 2009
    wrote:
    is created two files with names main.html and nav.html i don't want to create these files, what can i do ?
    Don't use option Navigator.
    I mean, don't use this code:
    frx.ExportToHTML(ExportTo, false, true, false, true, false, false);

    Use this code:
    frx.ExportToHTML(ExportTo, false, true, false, false, false, false);

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.