Tables in RTL cultures RRS feed

  • Question

  • Hi,

    I have an RDLC report with a table. The table has some columns hidden, so its width is unknown at design time. This works fine, the table is left-aligned in the report's field.

    Now I need to convert this report to an RTL culture. I have code, which alters the text direction and table layout. But how do I make the table align on the right? Setting Layout on the table doesn't change it's alignment (which is fine), but which property does?

    I also tried to create a column with a negated condition, so it is shown when the data one is hidden, but this increases the total width of the table and produces an extra empty page in the report (at least when the table is itself in a subreport).

    As the report system exists for at least over a decade, I can't imagine it has never been used in an RTL country, so the issue must have arousen and been resolved years before this question. But I can't find anything (is it that obvious it needs no docs?). Please help.


    Monday, August 19, 2013 6:14 AM