Sizing text entry boxes on in-place editing of datagrid row with dynamically created columns

Discussion in 'ASP .Net Datagrid Control' started by Keefe Goldfisher via .NET 247, Mar 7, 2005.

  1. Built a datagrid with dynamically created bound columns, andadded editing in-place, deletions and add-new features that workfine. One minor detail eludes us: When the datagrid goes intoedit or add mode the affected row's editable items open up intolabel-looking textboxes(?). We cannot size those boxes. (Some ofthe new columns are sized very wide on to fill out a patter inthe grid, and it looks odd to see a much tinier editable textboxopen up in the column). Have not turned up help in the ScottMitchell bible, nor on a search of this site (did our homework).The e.Item.cells(n).width attribute does not affect the edit boxsizes either, whether the technique is applied on Page_Init orin dg_ItemCreate. It seems like it might be a style issue, andwe're pursuing that, but if anyone has a suggestion... it wouldbe most appreciated. Thanks.
    --------------------------------
    From: Keefe Goldfisher

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>qC92mJ8B50qRgtmxHyJExQ==</Id>
     
    Keefe Goldfisher via .NET 247, Mar 7, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. muthu
    Replies:
    2
    Views:
    894
    bruce barker \(sqlwork.com\)
    Apr 26, 2006
  2. Ulf Heyder
    Replies:
    0
    Views:
    737
    Ulf Heyder
    Oct 16, 2003
  3. Replies:
    5
    Views:
    608
    Eliyahu Goldin
    Sep 3, 2006
  4. msimmons
    Replies:
    0
    Views:
    796
    msimmons
    Jul 16, 2009
  5. Mad Scientist Jr

    problem sizing columns in datagrid

    Mad Scientist Jr, Aug 13, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    249
    Mike Hutton
    Aug 24, 2004
  6. Korneel Vandamme

    sorting dynamically created columns in a datagrid

    Korneel Vandamme, Sep 30, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    220
    Korneel Vandamme
    Sep 30, 2004
  7. pleaseHelp

    width of columns when editing text in the datagrid

    pleaseHelp, Aug 12, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    248
    InNeedOfAssistance
    Aug 13, 2006
  8. vega80
    Replies:
    1
    Views:
    343
Loading...