locked
RDLC Table layoutDirection RRS feed

  • Question

  • User-1571109499 posted

    Hi

    in my test.rdlc report

    i have textbox , table and boolean IsArabic parameter

    textbox direction property =if(Parameters!IsArabic.Value,"RTL","LTR") and it works fine

    i want to make the the same with table , matrix 

    in other words

    i want to set table layoutdirection with expression according to IsArabic parameter

    Thanks in advance

    Thursday, October 27, 2011 9:54 AM

All replies

  • User-71329248 posted

    Hi GBotros,

    Did you find a solution for that?

    I'm going crazy with RTL in reports.

    Thanks,

    Walter

    Tuesday, November 1, 2011 6:36 AM
  • User1012859993 posted

    Using a little JQuery Hack & Page Inspector, i found that the Report Container Div always ends with 'ReportDiv'.

    on Client Page Load i added the following Code and it worked for me.

    function pageLoad() {
                $('div[id*="ReportDiv"]').prop('dir', 'rtl');
                $('div[id*="ReportDiv"]').css('direction', 'rtl');
            }
    

    'div[id*="ReportDiv"]' selector is: Find All 'div' tags, where its 'id' attribute Ends with (*=) 'ReportDiv'

    Sunday, February 24, 2013 10:16 PM