User665608656 posted
Hi shsu,
Is there any way for not showing the scroll bar in the multiline textbox
One more thing: If you want to ban scrollbar display all the time, you can use @Mike's advice, which is the best choice.
If you want the scrollbar to display automatically when you need it, you can set it to overflow: auto
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.text{
/*choose what you need*/
/*overflow:auto;*/
/*overflow: hidden;*/
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Rows="200" Columns="200" CssClass="text"></asp:TextBox>
</div>
</form>
</body>
</html>
You can also refer to this link : overflow
Best Regards,
YongQing.