This question is locked. New answers and comments are not allowed.
Hi,
I'm not sure if this post should be here or in the "Window" control, but since the issues is related to a grid pop-up editor, I thought this was the best place...
I have a pop-up grid to edit an entity from my Grid. In the "EditorTemplates->MyObject.ascx" control used by the editor pop-up, I have made some formatting changes. Basically I've stripped it all back to a simple "<table>" element.
The form loads up normally and renders a tiny square window roughly in the center of the screen.
But If I alter the size of the root table element, the window enlarges accordingly, but its top-left position remains the same and the window runs off the right hand edge of the screen.
Essentially the centering functionality does not work. Since its invoked by the grid "edit" function, I believe from previous posts that this means I have little control over the pop-up windows state.
Is there any way to fix this issue ? I don't mind if it requires Javascript functions, but I'm just ata a loss to know how to address this.
Many thanks - Paul.
I'm not sure if this post should be here or in the "Window" control, but since the issues is related to a grid pop-up editor, I thought this was the best place...
I have a pop-up grid to edit an entity from my Grid. In the "EditorTemplates->MyObject.ascx" control used by the editor pop-up, I have made some formatting changes. Basically I've stripped it all back to a simple "<table>" element.
The form loads up normally and renders a tiny square window roughly in the center of the screen.
But If I alter the size of the root table element, the window enlarges accordingly, but its top-left position remains the same and the window runs off the right hand edge of the screen.
Essentially the centering functionality does not work. Since its invoked by the grid "edit" function, I believe from previous posts that this means I have little control over the pop-up windows state.
Is there any way to fix this issue ? I don't mind if it requires Javascript functions, but I'm just ata a loss to know how to address this.
Many thanks - Paul.