This is a migrated thread and some comments may be shown as answers.

report refresh and documentname issue

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saadettin
Top achievements
Rank 1
Saadettin asked on 05 Dec 2017, 10:06 AM

Hi. I have a report and I set report's documentanme in Needdatasource event like below:

((Telerik.Reporting.Processing.ProcessingElement)(sender)).Report.DocumentName = string.Format("{0}{1}_Report", dto.Name,dto.Surname);

I wrote this code before setting the report's Datasource. (I also try after setting the report's datasource).

When I click export button on report, it downloads document right name(for exmaple johnwhite_Report). Then I click refresh. Then I click export button again. This time, document  name becomes Report. It does not show person name and surname.

Why does this happen. Any idea?

Thanks in advance.

 

1 Answer, 1 is accepted

Sort by
0
kmnd
Top achievements
Rank 1
answered on 22 Dec 2017, 06:21 PM

Hey,

Owww poor Sado.

Really so disappoint about your problem :(

Would've u tried to renew your licence dude ? Or using old  version ? Another option i can prefer is, try about other reporting events to set that property.

Have a nice day.

Best regards to your hodja.

Tags
General Discussions
Asked by
Saadettin
Top achievements
Rank 1
Answers by
kmnd
Top achievements
Rank 1
Share this question
or