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

I have a Multiline Textbox in a repeater control.
I have to enter comments(max 1000 chars) section and after adding comments they will shown to this Textbox.
My requirement is that how this Textbox can be set to automatically adjusted their height according to text into it that is going to be display.
Right now I am taking a fixed height of Textbox.

Thanks
Posted
Updated 10-Nov-10 19:45pm
v2

Why don't you prefer Scroll-bars(Horizontal/Vertical/Both) in textbox? Increasing height of textbox(while user typing data) will make the UI worse.

For Scrollbars visit this link[^]
 
Share this answer
 
how we can adjust height if a textbox automatically on runtime in asp.net
 
Share this answer
 

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