|
-
June 23rd, 2004, 12:51 AM
#1
DataGrid - Editing a TextBox and its Size
Hi,
i'm using the datagrid to display the content from the DB.
the datagrid also has "Edit" and "Delete" option.
While selecting the "Edit" option, a textbox is displayed, of default length, due to which my screen design is distrubed.
I want to control the size of this text box..
I wanted a textbox width which can hold 2 char in it.
how to do it.
thanks in adv.
Venu
Venu Bharadwaj
"Dream it. U can do it!"
-
June 29th, 2004, 09:51 AM
#2
Add a width definition to your textbox declaration.
<asp:textbox id="Textbox1" runat="Server" width="10" />
10 might not be exactly the right width. You might want to play with that.
-
January 11th, 2006, 11:41 AM
#3
Re: DataGrid - Editing a TextBox and its Size
hi,
In edit item template of you template column you can change the properties of your textbox which will be displayed in edit mode.
lucky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|