Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
getting 100% height to work with window resize
posted

I have a WebGrid that has its width and height set to 100%, so that when the window is resized ideally the webgrid would resize to fit.

 This works for the width perfectly, as I make the window smaller the WebGrid's width is equally reduced and the scroll bar appears along the bottom of the WebGrid.

This does not work for the height, the height stays fixed, so as I make the window smaller I get a scroll bar on the window, instead of the WebGrid's height reducing and adding the scroll bar IN the WebGrid.

 any help is appreciated! I dont know if there is a setting somewhere I need to set to get this to work.