Renderpartial Same View File

I have a view (index) where I renderPartial another view twice(grid_result)

$this->renderPartial('grid_result'); // first

$this->renderPartial('grid_result'); // second

When I click on a ajaxLink i call the controller to get me the results and renderPartial the view (grid_result) again with the new results.

$this->renderPartial('grid_result', array('result' => $result));

How can I identify where (first grid_result view or second grid_result view) to show the results? In the moment my renderPartial at the controller does nothing