Problem with empty textbox?

4 posts, 1 answers
  1. CTO
    CTO avatar
    5 posts
    Member since:
    Jan 2015

    Posted 23 Aug Link to this post

    how to remove space when there is no value on the textbox in the telerik report. I've added a picture for better understanding.

    Thanks in advance.

  2. Rick
    Admin
    Rick avatar
    5 posts

    Posted 23 Aug Link to this post

    Hello,

    First, review the Visibility section of out Design Considerations for Report Item Layout for a primer of how showing/hiding items will affect the Report layout.

    You can then use a Bindings on the Visible property of that TextBox. The expression used in the Binding should return true when when you want to hide the TextBox.

    Regards,
    Rick
    Telerik by Progress
    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. DevCraft banner
  4. CTO
    CTO avatar
    5 posts
    Member since:
    Jan 2015

    Posted 28 Aug in reply to Rick Link to this post

    I don't understand how to do that can you give me some example?
  5. Answer
    Stef
    Admin
    Stef avatar
    3037 posts

    Posted 29 Aug Link to this post

    Hi,

    Please test the following settings:
    1. Add two Panel items side by side, and place the TextBox items in them e,g, organize TextBox items in two separate columns;
    2. Select the TextBox items, you want to hide, and open their Bindings collections editors.
    3. Create a binding like:
      Property path: Visible
      Expression: =IIf(1=0,False, True)


    Run preview of the report, where the TextBox items will not be visible. the TextBox items beneath them should have moved up in their places. For more details, please check Design Considerations for Report Item Layout.

    Regards,
    Stef
    Telerik by Progress
    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
Back to Top