Hello All,
In my report, I have a Matrix control placed next to a table. It renders properly and displays data aligned in two controls in Visual Studio Preview. However, when I deploy to production, it wraps the matrix control below the table, in fact puts the entire matrix control underneath the table. Why such strange behavior and not in the Preview of the report but only in Production? Any ideas how to fix this?
In VS Env. Preview --> [Table][Matrix]
In Report Svr Prod --> [Table]
[Matrix]
Thanks,
Try making a 2 column, 1 row table with the table and matrix in the left and right cells, respectively.Set the datasource of the table to be one of your already used datasets.|||
Do you mean in the Details or Header/Footer of the table? If I put in the details it returns with following errors dialog
Microsoft Report Designer
Cannot place a Table/Matrix at this location in the table
|||I didn't specify. I know I've received that error and have tried to place the piece in the header instead. I believe that works fine - but there's one way to find out.|||Well, I tried that but it din't work. The thing is that the table and matrix have different data sets. And the containing table can only have one data set name, that is why the report designer is complaining... May be I am missing something but it really sucks that the control renders one way in development and differently in production.|||In my experience, Matrix reports almost always do not render properly on deployment. I do not know of any one method to fix such alignment issues, but in general try making sure that the components do not overlap even slightly with each other.
Also, try putting both inside a single rectangle, if they are not already in one.
Hope this helps,
-Aayush
|||Yes, that worked. I use three rectangles though. One for table. Second for Matrix. The third one is the container. So, its sort of like the table header solution as suggested above by TU5 but without a table. The problem indeed was the overlapping report items --> "SSRS does not support overlapping report items in all rendering formats".
Thanks.
No comments:
Post a Comment