I am using RegisterStartup script placed in my Page_Load to run script on partial post back due to update panel:
Following is my grid html:
But unfortunately the alignment of my grid (scrolling, height) is behaving abnormally on each post back or even page load. On first load the grid is going out of div. On post back it is missing its scrollbar. I did try so many solutions like static header = "false" EnableViewState="true" but nothing is working. Please help me.
Note: If I remove RegisterStartupScript from page_load my radgrid behaves absolutely fine except that my row is not selecting. After adding RegisterStartupScript line my radgrid started behaving like this.