Updated placeControl method

Added raising exception in case a window grid is not set with setGrid.