Prado\Web\UI\ActiveControls\TBaseActiveCallbackControl::getJavascript PHP Method

getJavascript() public method

Alternatively, dispatches immediately Prado.Callback("<%= $this->mycallback->UniqueID %>", $this->mycallback->ActiveControl->JsCallbackOptions);
public getJavascript ( ) : string
return string javascript client-side callback request object (javascript code)
    public function getJavascript()
    {
        $client = $this->getPage()->getClientScript();
        return $client->getCallbackReference($this->getControl(), $this->getClientSideOptions());
    }