public function getDroppedControl()
{
$control = null;
$service = Prado::getApplication()->getService();
if ($service instanceof TPageService) {
// Find the control
// Warning, this will not work if you have a '_' in your control Id !
$dropControlId = str_replace(TControl::CLIENT_ID_SEPARATOR, TControl::ID_SEPARATOR, $this->_dragElementId);
$control = $service->getRequestedPage()->findControl($dropControlId);
}
return $control;
}