Link to home
Start Free TrialLog in
Avatar of johnkainn
johnkainn

asked on

text scroll

Hi,
I would like to show a text in an asp control. I want to set height to the text and if it exceeds it then there should be a scrollbar. Can I do this with asp:Label. If yes how? If not what is the best control to use?
Avatar of Anil Golamari
Anil Golamari
Flag of United States of America image

I think you can use a multiline option under textbox which should give you a scroll bar if you have more text entered into textbox.
ASKER CERTIFIED SOLUTION
Avatar of Rajar Ahmed
Rajar Ahmed
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of johnkainn
johnkainn

ASKER

Thank you. I am wondering if I can set max height, so that the control wraps around the text except that if it exceeds for example 300 px height, then it starts to scroll.