I've got a two part question related to (1) positioning controls and (2) whether or not they appear at all. Its all related to a problem I'm having.<BR><BR>(1) I've got a page with a datagrid at the top and below that a panel that has some buttons on it. Sometimes, if a lot of records are returned to my grid it overwrites my panel containing the buttons. Is there a way to determine the lowest outside border of the grid and then use this amount to help me<BR>place the panel just below this? I've put both the panel and datagrid in a table which prevents the overwrite but it seems kind of a "clunky" way to do it.<BR><BR>(2) Related to (1) in "old" ASP I used to do <% if then %> tests on database values and could bypass displaying tables and other content. I seem to remember reading where while allowed in asp.net using the older <% %> code blocks would impact the way the page is processed. So is it preferred to display or not display controls using the .visible notation and then control the location using left, width and position? I know that's alot of questions. Thanks!