Sizing problem RRS feed

  • Question

  • User-1525009598 posted

    OK, I'll try to spell out my issue, and hopefully it will make some degree of sense -

    I've got my .net app where I have reports which swap out different .rdlcs, based on user input.  If they choose some criteria, my reportviewer does a swap, i.e.

    repviewer.LocalPath.ReportPath = @"...../something.rdlc"

    Data is retrieved and bound to repviewer, and the data is displayed without problem.

    Problem is, the "header" part of the rdlc, i.e. paging fields (1  of 3), the export drop down (Excel  Acrobat PDF file) etc, is all strewn out, that is, spans multiple lines, way too much spacing in between the individual criteria.  I just need these fields to be all on one line with normal spacing.  Never  had this problem before (I'm relatively new to SSRS).

    Any ideas on how to fix?



    Monday, April 18, 2011 4:15 PM


  • User1471008070 posted


    You could make sure of Trim function to return a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim). Such as: =Trim(Fields!Description.Value)

    Hope this helps.

    Challen Fu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 25, 2011 10:08 PM