Hi all,
How can I set the size of a rectangle dynamically in SSRS Reports?
Thanks,
Dhanya
*This post is locked for comments
Hi Dhanya,
Do you mean the Rectangle control in SSRS? Last I remember it'd grow automatically according to the contained controls height.
What is the issue you are facing?
Hi,
Thanks for the reply Lee, have one SSRS report the report title (textbox) ,I placed it in rectangle(container).Can it grows dynamically according to the table size increases?
Yes it can grow, select the option in the text box properties
Thanks Jaleel, I am newer to SSRS, don't know which is option for that?
Please Reply
Text properties > General > Check Allow Height to increase.
if you need more information you can contact me on skype : erp.jaleel
Sorry Jaleel,but it's not working for mine issue
For a textbox in SSRS, there is the "CanGrow" option. When it's set to true, the textbox will expand vertically if necessary.
If the textbox above is put into a rectangle (where the textbox's Parent property is set to the rectangle's name), then the rectangle should grow with the textbox.
I am not sure what do you mean by "table size" increase, but a table should works the same with respect to how a rectangle (which contains the table) would react when the table grows.
Thanks Lee, What I mean in "table size" means the visibility of the columns in the table depends on the parameters .so want to increase the rectangle size(contains the report title text box) according to the table columns.
So far what I mentioned is that a rectangle control would *passively* react to auto-grow of its containing controls (textbox or table).
However, it seems like that's not what you need and I am not sure the requirement.
Maybe you can show some screeshots on what you like to achieve?
Sorry for the late reply Lee, As you mention the screenshot of my requirement is attached. Please help me
Thanks ,
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Tocauer 4
AlissonGodoy 2
NNaumenko 2