Chang RTL of a Data Band at runtime

Stimulsoft Reports.NET discussion
Post Reply
Modi_Fadl
Posts: 5
Joined: Thu Nov 05, 2009 8:32 am
Location: Egypt

Chang RTL of a Data Band at runtime

Post by Modi_Fadl »

Dear All,
I try to change make data band right to left by code
I used this
foreach (StiComponent component in report.Pages[0].GetComponents())
{
if (component is StiDataBand)
{
((StiDataBand )component).RightToLeft=true;
}
}
but no thing happened the data band still as it was ???
sorry for my questions but I check the features to decided if they meet our needs
Mohamed
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Chang RTL of a Data Band at runtime

Post by Edward »

Hi Mohamed,

Please set the RightToLeft property also for the StiText component.

Thank you.
Modi_Fadl
Posts: 5
Joined: Thu Nov 05, 2009 8:32 am
Location: Egypt

Chang RTL of a Data Band at runtime

Post by Modi_Fadl »

Thanks it helps me a lot
Mohamed
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Chang RTL of a Data Band at runtime

Post by Edward »

Hi Mohamed,

You are welcome, please let us know if you need any help.

Thank you.
Post Reply