|
Subject:
|
How to manipulate width of textbox programmaticall
|
|
Posted By:
|
hchlebowski
|
Post Date:
|
1/2/2006 8:34:06 PM
|
Hi guys, How do you manipulate width, height and bgColor of a textbox programmatically in aspx Web Page's code-behind form? I tried:
Textbox1.Width.ToString = 742px
And get “Expression is a value and therefore cannot be the target of an assignment” in reference to the underlined.
Drop me a line, thanks Henry
|
|
Reply By:
|
chafor
|
Reply Date:
|
1/11/2006 3:59:41 PM
|
use the proprety in the ControlStyle... Textbox1.ControlStyle.Width = 100;
|
|