Hi
I made a report using XMLTextWriter (Report.RDL) in vb.net .
How can i change the report direction to RTL.
Thanks.
Technology Tips and News
Hi
I made a report using XMLTextWriter (Report.RDL) in vb.net .
How can i change the report direction to RTL.
Thanks.
Hi sepehrasf,
Try something like as below:
window.onload=function() { var viewer = document.getElementById("ReportViewer1"); var frame = document.getElementById("ReportFrame"); if (frame != null && viewer != null) { var reportDiv = eval("ReportFrame").document.getElementById("report").contentDocument.getElementById("oReportDiv"); viewer.style.height = reportDiv.scrollHeight; viewer.style.width = reportDiv.scrollWidth; //var btn = eval("ReportFrame").document.getElementsByName("ReportViewer1$ctl00$ctl00")[0]; } }
Hi,
According to your description, you want to change the report LayoutDirection to RTL, right?
In Reporting Services, if we want to change the report layout direction, we can change the LayoutDirection value to RTL (LTR is default). In your scenario, you need to open the report in Report Builder or SSDT. Select the required tablix, and then press F4 to find LayoutDirection property to change the value to RTL.
If you have any other question, please feel free to ask.
Regards,
Shrek Li