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

how can i make Textbox dynamic in designer?

5 Answers 533 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shiwani
Top achievements
Rank 1
Shiwani asked on 31 Mar 2017, 11:45 AM

Hi,

I'm using telerik report designer R3 2016, and i want to make my textbox dynamic, the textbox should increase according to the number of characters in a word.Please help.

5 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 31 Mar 2017, 02:05 PM
Hi Shiwani,

By default, TextBox item only grows vertically to fit its content. Changing the width of the TextBox depending on the length of the text can be achieved with a binding for the Width property of the TextBox.

The approach is demonstrated in the attached report (can be opened with Standalone Designer 2017).

I hope this would be helpful.


Regards,
Katia
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
0
Shiwani
Top achievements
Rank 1
answered on 03 Apr 2017, 05:44 AM
Thanks for reply, but when i'm opening this .trdp file in telerik report designer 2016 is giving an error. please have look on attached screenshot.
0
Katia
Telerik team
answered on 03 Apr 2017, 08:49 AM
Hello Shiwani,

This error occurs due to the version mismatch, reports created with newer version of Standalone Designer cannot be opened with older version of Standalone Designer.

Report that can be opened with R3 2016 version is attached to this post.


Regards,
Katia
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
0
Shiwani
Top achievements
Rank 1
answered on 06 Apr 2017, 05:14 AM
Thanks, but it expanding size to a fixed length not dynamically (according to the length of the word in text box).
0
Stef
Telerik team
answered on 10 Apr 2017, 02:05 PM
Hi Shiwani,

Textbox Items grow only vertically - Design Considerations for Report Item Layout, where you can use custom logic to make them expand horizontally based on the data (the proposed approach with the binding). You may need to place the item in a larger Panel item to avoid misplacing other items in the report.

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
Tags
General Discussions
Asked by
Shiwani
Top achievements
Rank 1
Answers by
Katia
Telerik team
Shiwani
Top achievements
Rank 1
Stef
Telerik team
Share this question
or