Question : GridView control scroll bars are not visible on page reload

I have a gridview control on a webpage.  This gridview is populated programatically and properly displays both vertical and horizontal scrollbars.  I'm able to click on a record in the gridview and proceed to the record datail page.  When I use a breadcrumb trail control to return to the original page containing the gridview, the scrollbars have disappeared.  They re-appear instantly when I click on the gridview control.  Is there any way that I can get these scrollbars to re-appear when the original search page is re-rendered?

Answer : GridView control scroll bars are not visible on page reload

please check whether you are binding grid within NOT IsPostBack property.

If this is the case then you have to always bind it.

see for more details:

http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx

Random Solutions  
 
programming4us programming4us