Prado\Web\UI\ActiveControls\TActiveControlAdapter::getIsTrackingPageState PHP Method

getIsTrackingPageState() protected method

protected getIsTrackingPageState ( ) : boolean
return boolean true if the viewstate needs to be tracked.
    protected function getIsTrackingPageState()
    {
        if ($this->getPage()->getIsCallback()) {
            $target = $this->getPage()->getCallbackEventTarget();
            if ($target instanceof ICallbackEventHandler) {
                $client = $target->getActiveControl()->getClientSide();
                return $client->getEnablePageStateUpdate();
            }
        }
        return false;
    }