Texbox in DataGrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    #1

    Texbox in DataGrid

    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
  • Scott M.

    #2
    Re: Texbox in DataGrid

    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


    "Jeff" <jeff@utilistar .com> wrote in message
    news:004401c351 f7$7a8786a0$a30 1280a@phx.gbl.. .[color=blue]
    > 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[/color]


    Comment

    Working...