Changing TextBox Properties

Results 1 to 2 of 2

Thread: Changing TextBox Properties

  1. #1
    Join Date
    Dec 1969

    Default Changing TextBox Properties

    I would like to know how to change the width/height and font size for the TextBox control in ASP.NET. Can I set these properties from within the tags ?<BR><BR>&#060;asp:TextBox id="txt1" runat="server" /&#062;<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Changing TextBox Properties

    Hi,<BR><BR>Yes you can, you would do something like this...<BR><BR>&#060;code&#062;<BR>&#060;asp:textb ox id="textAddFirstName" runat="server" Width="180px"&#062;<BR>&#060;/code&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts