I have a situation where I have a WebDialogWindow that contains a table, that then contains a WebGrid. The webdialog starts off as hidden. When a button is clicked the dialog is displayed (set_windowsState is set to "Normal" via javascript). When this happens the first time the contained web grid is about 20 pixel too high outside the table, overlapping the dialog titlebar. If I hide the dialog and then reshow it the grid snaps to the correct position. If I move the dialog box at all the grid snaps into the correct place.
I am using IE7, and 8.1 CLR2.0.
any thoughts on what needs to be done so the grid shows up right the first place.
Yes, I am experiencing this problem, not with just webgrid but command buttons not positioning correctly until the cursor is moved towards the wdw and then things snap into their proper positions. This is kind of a deal breaker if there is no work-around for this. Looks very unprofessional.
Hi,
Maybe that is problem because WebGrid uses relative position for its html elements. To support that, container of grid should have that attribute as well. Try to set WebDialogWindow.ContentPane.EnableRelativeLayout to true.