Hi,
I'm currently experiencing a problem with resizing the grid control. I need the grid to dynamically resize with the page. The page is a "content page" with a master page around it.
I have to put code in the resize event of the window to ensure that the page is always at least the height of the browser window. (i.e. so that the footer of the page is always just above the browser statusbar).
The code seems to run fine on all pages. I have a problem with the grid however. On doing a full postback, the event fires corretcly with the correct height. The grid expands to the full height required, but the content only displays 6 items and shows a scrollbar. There are only 9 items in the grid on my test machine and the scrollbar shouldn't be visible as the page is about twice the required height.
Is there any way I can force the grid to redraw or refresh itself?
Regards
Bobby
I'm currently experiencing a problem with resizing the grid control. I need the grid to dynamically resize with the page. The page is a "content page" with a master page around it.
I have to put code in the resize event of the window to ensure that the page is always at least the height of the browser window. (i.e. so that the footer of the page is always just above the browser statusbar).
The code seems to run fine on all pages. I have a problem with the grid however. On doing a full postback, the event fires corretcly with the correct height. The grid expands to the full height required, but the content only displays 6 items and shows a scrollbar. There are only 9 items in the grid on my test machine and the scrollbar shouldn't be visible as the page is about twice the required height.
Is there any way I can force the grid to redraw or refresh itself?
Regards
Bobby