We have a GridView nested within a PageControl. Both the PageControl and the GridView have their width set to Unit.Percent(100) so that they take up the entire width of the browser window. We have found that if we turn on the vertical scroll bar for the GridView, the grid will no longer resize correctly.
When the browser window is widened, the grid will expand out to take up the extra width. But when the browser window is made more narrow, the grid does not back shrink down to 100% of the browser width. This problem only occurs when the GridView is within a PageControl and has its vertical scroll bar turned on.
I have attached a sample project which I hope illustrates this problem clearly enough.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.