I am programatically creating ListViewWebpart in SharePoint 2010. I am querying the list and programatically trying to add the listviewwebpart to the page. When I do this listviewebpart.GetDesignTimeHtml(); there is no error but cannot find the webpart on the screen. This line worked in SharePoint 2007 and I have issues with this in SP 2010. This is a migration Project.