SSRS Matrix report Align issue

After Ryan's Advanced SSRS conference session, I went home and have been working on a calendar report for use with some of our Volunteers. Much of this is working out fine, but I am finding that the VerticalAlign property of my calendar field is not acting as it should and/or I am missing something. Please see attached screenshot. Why isn't the text for each date field Aligning to the top? Everything I can find is set to VerticalAlign = Top, and all looks well in BIDS preview tab, but in IE I get this. Anyone have any suggestions? Thanks!

(Using BIDS/SSRS 2005.)

Parents
  • Hi Chris,

    Good day.

    How about you replace "Top" in VerticalAlign with:

    =IIF(1=1,"Top","Top")

    I think, as "Top" is a default value for the field,  then maybe it will pass nothing to web page.

    If you pass something in the code, then the web page must have something in it.

    So maybe this something can fix the problem.

     

    Also maybe check out something else.

    http://stackoverflow.com/questions/531383/reporting-services-right-item-alignment

    have fun

    Ben

     

  • Thanks for your reply, Ben. I tried what you suggest, and SSRS05 doesn't seem to like VerticalAlign expressions, i.e. I tried "=IIF(1=1,"Top","Top")", deployed, and got the error:

    • An error occurred during rendering of the report. (rrRenderingError)
      • An error occurred during rendering of the report.
        • Object reference not set to an instance of an object.

    If I google this, I get all sorts of really irrelevant suggestions. I tried a different expression, like "=iif(Parameters!year.Value > 1,"Top","Top")", and get the same. The error goes away if I get rid of the VerticalAlign expression and just go back to "Top", though the original bad behavior remains.

    Since the alignment appears correctly in BIDS Preview, but incorrectly in IE, I suppose it is some sort of IE incompatibility with BIDS (yay Microsoft!).

    Any other suggestions appreciated, but I think this is just a bug. *sigh*

Reply
  • Thanks for your reply, Ben. I tried what you suggest, and SSRS05 doesn't seem to like VerticalAlign expressions, i.e. I tried "=IIF(1=1,"Top","Top")", deployed, and got the error:

    • An error occurred during rendering of the report. (rrRenderingError)
      • An error occurred during rendering of the report.
        • Object reference not set to an instance of an object.

    If I google this, I get all sorts of really irrelevant suggestions. I tried a different expression, like "=iif(Parameters!year.Value > 1,"Top","Top")", and get the same. The error goes away if I get rid of the VerticalAlign expression and just go back to "Top", though the original bad behavior remains.

    Since the alignment appears correctly in BIDS Preview, but incorrectly in IE, I suppose it is some sort of IE incompatibility with BIDS (yay Microsoft!).

    Any other suggestions appreciated, but I think this is just a bug. *sigh*

Children