I have a datagrid that retrieves information from the database and below the datagrid there are several other controls. When the datagrid is displayed, sometimes it will be too long that it overlapped the controls below the datagrid, how can I make the controls below the datagrid flexible so when the datagrid is displayed the controls below the datagrid should move below according to the length of the datagrid? I will not know how long the datagrid will be because it is retrieved from the database and sometimes it might be short and sometimes it might be long, so i can't set the controls to a specific place. How can I solve this? I've tried putting the datagrid in a table row and adding the controls to the next row of the table but the datagrid will have error. Thanks, any help will be greatly appreciated!