Changing Document Name for Exporting

5 posts, 0 answers
  1. Brad
    Brad avatar
    9 posts
    Member since:
    Jan 2012

    Posted 14 Dec 2012 Link to this post

    Hello Everyone,

    Any help would be greatly appreciated. 

    I am trying to set the document name to LastName_FirstName as my report is a summary of an individual. Is there a way to either access my dataset fields LastName and FIrstName to set an expression for the document name or can I dynamically change the documentname property in the reportviewer.aspx code behind? I use Visual Basic.

    My only options for document name expressions are as follows: Constants, Functions, GlobalObjects, and Report Parameters.

    Again any help would be fantastic.

    Thanks,

    Brad
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 18 Dec 2012 Link to this post

    Hello Brad,

    The built-in Fields value refers to a column from your datasource i.e. it is expected to return a value for each record from your datasource. The DocumentName on the other hand expects a String that would be used as the name for the exported report and this is evaluated on report document level (Report, ReportBook). In short you cannot use datasource fields in it and that is why you do not see the fields in the Expression Editor for DocumentName property.

    Kind regards,
    Steve
    the Telerik team

    HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. SSirica
    SSirica avatar
    83 posts
    Member since:
    Jan 2007

    Posted 08 Mar Link to this post

    Another report limitation that makes no sense.  By the time the report would get exported all the fields and datasets have been retrieved, so why not have them as an option?  The more I dive into these reports the less I like them. 

    I'm venting don't even bother replying.  

  4. Milen
    Admin
    Milen avatar
    180 posts

    Posted 14 Mar Link to this post

    Hi Steve,

    Please use our support system for any challenges you are facing while implementing our reporting solution. We sincerely try to help, not do disappoint our clients.

    Accessing the root data scope of the report while evaluating the DocumentName would be helpful. Thank you for bringing this up to our attention. I am logging it in our feedback portal where you and other users can vote for it: https://feedback.telerik.com/reporting/1400524

    Regards,
    Milen
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. SSirica
    SSirica avatar
    83 posts
    Member since:
    Jan 2007

    Posted 14 Mar in reply to Milen Link to this post

    Thanks Milen.
Back to Top