Click here to Skip to main content
15,905,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Anyone can help me this?

I am doing RDLC report localization into different locale and I have prenty of Textbox controls in my report.

I can now display the value of my RDLC local report to the specific locale, but my problem is my textbox will autosize vertically when the text exceed to textbox size which cause to overlap from another controls.

What is the best thing to do to make textbox autosize grow horizontally?or textbox autosize according to the text content.

I modified the rdlc xml file to localize the reports using resources from database.

Answers are greatly appreciated.

Email: REMOVED FOR SECURITY REASONS


Regards,
Gerry
Posted
Updated 3-Jan-11 14:25pm
v3
Comments
Dalek Dave 3-Jan-11 20:26pm    
Never give an email address, any answers will be posted to your recorded address.
Gerry Logrosa 4-Jan-11 4:44am    
okay thanks.

AFAIK there isn't a inbuilt functionality in SSRS to make text box grow horizontally.

But If you want to make your textbox expansion vertically then there's a propery of textbox called CanGrow, by setting it true it will make your textbox grow vertically according to content.
 
Share this answer
 
Hi Hiren,


Thanks for the answer.

But when I set the textbox property CanGrow to true the textbox will grow vertically when exceed to its default size and create 2 lines text that causes change of the page setup. Anyway the idea really help me.

Any one have an idea on how to use xml how auto resize the textbox.

How to use the TextRenderer.MeasureText(ctrl.text, font) in modifying xml. Is this applicable to RDLC reports??




Regards,
Gerry
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900