Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 30th, 2011, 03:03 AM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default Changing box size

Hi dear Imar
You know that if we want to change size of textboxt input(in HTML) we must set 'size' attribute. But if I use asp:TextBox control , how I can change its size.

Thanks.
 
Old January 30th, 2011, 05:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Tip of the day: by only addressing me directly, you run the risk that other people who may have an answer to your question ignore your message entirely....

Anyway, you can set its Width property.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old February 4th, 2011, 08:39 AM
Authorized User
 
Join Date: Jan 2010
Posts: 31
Thanks: 5
Thanked 2 Times in 2 Posts
Default

If you are using visual studio or visual web developer, you can inspect the properties of a control by selecting the "properties inspector" tab. This is very useful - press F4 or look in "view" menu to enable.

Imar (lol just kidding) - its Adam
 
Old February 5th, 2011, 01:48 AM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default

Hi dear AdamPembs and Imar.
Really i forget This approach .
Thank's its works. And I do Imar advice .





Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of text box depending on size of another box AstridVM BOOK: Access 2003 VBA Programmer's Reference 0 March 7th, 2007 06:24 AM
Changing the size of a container. aadz5 Java GUI 1 January 5th, 2005 04:03 PM
changing text size on screen markhardiman Classic ASP Professional 4 August 31st, 2004 07:01 AM
Changing the page width and size at runtime janet_35 Crystal Reports 0 February 17th, 2004 06:24 AM
Changing the font size in a statusbar xgbnow C++ Programming 0 February 3rd, 2004 04:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.