Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR10 crystalreportviewer control

Status
Not open for further replies.

Billy991

Programmer
Joined
Aug 11, 2004
Messages
8
Location
GB
Hi Guys,
I am using ASP.NET with the crystalreportviewer control does anyone know how to change the default save as name from CrystalReportViewr1.XXX (where XXX is export type PDF etc) in CR10. I want to be able to change to the report name being saved but I just cannot see a class/property that allows this has anyone done it??

Billy
 
I am exporting directly to a file in VB, so I am not sure if this applies or not, but try

Report.ExportOptions.DiskFileName = Pname

Andy
 
Thanks Andy,
But I need to the set the filename in the 'Save as' part, and I can't find the property (if it exists) to do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top