This is a migrated thread and some comments may be shown as answers.

Textbox with multiline did not push down others controls

3 Answers 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abdullah
Top achievements
Rank 1
Abdullah asked on 12 Jun 2015, 02:17 PM
Hello Support,

I trying using Telerik Reporting tools, I have a report as you see in attachment.
My report is simple read a data from database and fill the text boxes but I face a problem when the textbox has multi lines the textbox did not push down other controls I set the properties CanGrow=True, MultiLine=True and Anchor=Top

I am using ASP.NET 4.5 ,SQL DataSourc and RenderReport to pdf becouse I want to generate the report on the server and save it in database

Please give me your advice

Best Regards

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 12 Jun 2015, 02:34 PM
Hello Abdullah,

Setting Anchor = Top will prevent the text box from being pushed down by other report items above it, when they grow vertically.
To change the described behavior you will need to remove the Anchor settings currently applied.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Abdullah
Top achievements
Rank 1
answered on 13 Jun 2015, 04:05 PM
Hello Nasko,
Thank you for reply, that is great and helped me.
but there is two issues I want to understand how can I do it:

1- I have a PageHeader in my report I want to hide some controls from it depending on the value from database ex. I have ID column, I check if the value = 1 then I hide the controls (I did conditional formatting for this) but I see that all values of ID is equal 1 (in details section that values are true)

2- I want to display arabic (indic) numbers rather than default number I choose the culture ar-SA and I added this code before rendering to PDF

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ar-SA");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ar-SA");

but the report still shows the default numbers.

I need you help.

Thanks

0
Abdullah
Top achievements
Rank 1
answered on 15 Jun 2015, 03:40 PM
Any Reply!1
Tags
General Discussions
Asked by
Abdullah
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Abdullah
Top achievements
Rank 1
Share this question
or