Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a Textbox and it's property is TextMode is Vertical. in print popup i can hide the Scrolling of the TextBox.
Please any one help me.............
Posted
Updated 22-Jul-12 19:57pm
v3

You can change any attribute of any control using javascript or jquery. But if it's a textbox, I'm not sure if you can hide scrollbars or not.

Ok, because I know how to use google and cared enough to check, I found out you can

txtBox.Attributes.Add("style","overflow :hidden");
 
Share this answer
 
Comments
enhzflep 23-Jul-12 2:08am    
"because I know how to use google and cared enough to check" :laugh:

That's my +4.9 take the other 0.1 for the code.
var txtDescription= document.getElementById("<%=txtDescription.ClientID %>")
txtDescription.style.overflow='hidden';
 
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