Generically layouting an RDLC report based on dataset RRS feed

  • Question

  • I produce the RDLC generically without the XSD and store the physical schema to view in ReportViewer.

    What my problem is that Column widths in RDLC are defined in inches not in percentages.
    And as I am loading data in reports from dynamic dataset, I can set column data to expand vertically by setting "CanGrow" to true.

    But this helps data in column to grow vertically, if it does not fit the column width.

    And I want to define that how much the ColumnWidth should expnad based on longest values in each column of data loaded dynamically.

    But, as the schema has fixed ColumnWidth defined, I am not able to get the solution.

    Please provide me a solution if you have.

    I demand a quick suggestion on this problem from this Forum's experts as they have more knowledge over the RDLC and reporting services.

    Thanks in advance.

    Dhruv Patel
    [ Email : mail2dhruv@rocketmail.com ]
    Please Mark As Answer if you think the answer was correct.
    Thursday, October 29, 2009 2:46 PM