Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DataGrid.Height

Thread Tools


Serdar Kalaycę
Posts: n/a
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



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off