DataGrid.Height

Discussion in 'ASP .Net' started by Serdar Kalaycý, Jun 28, 2003.

  1. I have a DataGrid in my WebForm. I set its Height propert to 1px because if
    I give it a big number and there's less records then expected, it extends
    the rows giving a silly layout. So it gets longer as the records appear. But
    I'd like to add some textboxes to add a new record to the database (as I
    see, there's no method of datagrid to add new records) below the DataGrid
    and I'd like to set their Location dynamically exatly where the DataGrid
    ends, but DataGrid.Height property returns 1px, instead of its real height.

    Can anyone suggest anything?
    Thanks in advance

    Serdar KALAYCI

    --
     
    Serdar Kalaycý, Jun 28, 2003
    #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. Replies:
    0
    Views:
    570
  2. Wotney
    Replies:
    1
    Views:
    540
    Flinky Wisty Pomm
    Oct 25, 2006
  3. tshad
    Replies:
    1
    Views:
    1,713
    bruce barker
    Mar 8, 2007
  4. Bernd Meier
    Replies:
    6
    Views:
    529
    GTalbot
    Jan 14, 2008
  5. samer
    Replies:
    3
    Views:
    442
    Gregory A. Beamer
    Sep 28, 2009
Loading...

Share This Page