Texbox in DataGrid

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I would like to increace the default width of the textbox
that appears in my datagrid when I click the Edit
button. The default width of the textbox that allows me
to edit the selected row is not sufficient. Does anyone
know how to facilitate this?

Thanks,
Jeff
 
Right click the DataGrid in the designer.
Choose Edit Template
Select the column you are talking about
You should now see the textbox you wish to change
Click on the TB once to select it
The Properties window should now show the properties of the TB
Change the "Columns" property to the desired setting.


....OR....


Switch to HTML view for the aspx page.
Find the TB in the HTML
Add "SIZE=n" as an attribute to the <INPUT> tag
 
Back
Top