How to make a multi-line textbox to fill gridview's column in edit view?

Discussion in 'ASP .Net' started by dan, May 7, 2008.

  1. dan

    dan Guest

    Hi,

    I have a multi-line textbox in a gridview when in edit mode. The textbox
    (rendered as textarea in browser) set cols to 20 by default. I'd like the
    textbox to 'adjust' itself to the width of the column. There are cases when
    the column is much wider than the textbox. I could programmatically set
    cols (through Columns property) but this is not going to work.
    Is there a way to do that?

    Thanks,
    Dan
     
    dan, May 7, 2008
    #1
    1. Advertising

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. Luqman
    Replies:
    2
    Views:
    3,821
    Luqman
    Feb 1, 2006
  2. mosscliffe
    Replies:
    1
    Views:
    3,440
    Arsalan
    Apr 28, 2006
  3. Keith G Hicks
    Replies:
    3
    Views:
    765
    Keith G Hicks
    Feb 18, 2008
  4. Sharon McCarty
    Replies:
    0
    Views:
    252
    Sharon McCarty
    Nov 24, 2004
  5. Parthiv Joshi
    Replies:
    1
    Views:
    692
    Samuel L Matzen
    Jul 6, 2004
Loading...

Share This Page