report refresh and documentname issue

2 posts, 0 answers
  1. Saadettin
    Saadettin avatar
    19 posts
    Member since:
    Jan 2012

    Posted 05 Dec 2017 Link to this post

    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.

     

  2. kmnd
    kmnd avatar
    1 posts
    Member since:
    Jul 2011

    Posted 22 Dec 2017 in reply to Saadettin Link to this post

    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.

Back to Top