Textbox with multiline did not push down others controls

4 posts, 0 answers
  1. Abdullah
    Abdullah avatar
    3 posts
    Member since:
    Jun 2015

    Posted 12 Jun 2015 Link to this post

    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
  2. Nasko
    Admin
    Nasko avatar
    1045 posts

    Posted 12 Jun 2015 Link to this post

    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
  3. Abdullah
    Abdullah avatar
    3 posts
    Member since:
    Jun 2015

    Posted 13 Jun 2015 in reply to Nasko Link to this post

    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

  4. Abdullah
    Abdullah avatar
    3 posts
    Member since:
    Jun 2015

    Posted 15 Jun 2015 Link to this post

    Any Reply!1
Back to Top