custom control width

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

I am adding a datagrid programmatically to a table in
my custom control and I need to set the width of the
datagrid to 100%

I have tried setting the width on the table cell,table
row and the datagrid to the following value

Unit.Percentage(100);

but it does not change the width at all

what am i doing wrong
 
Back
Top