Home » FAQ » ASP.NET » TextBox » How to programmatically set the width of the textbox control
VB.NET
TextBox1.Width = Unit.Pixel(100)
C#
TextBox1.Width = Unit.Pixel(100);
Share with