Sometimes you need WebGrid to automatically appear full screen based on your page's width and height. You can use AutoWidth and AutoHeight to perform this scenario.
In this topic, you will learn how to set WebGrid's AutoWidth and AutoHeight.
To set AutoWidth and AutoHeight in WebGrid
- Right click on the WebGrid to open WebGrid.NET Designer.
- Focus on Popular Settings - Layout Expandable panel.
- Checked "Automatically resize WebGrid to fit available width" checkbox.
- Checked "Automatically resize WebGrid to fit available height" checkbox.