Prado\Web\UI\ActiveControls\TCallbackClientScript::getRenderedContentBoundary PHP Method

getRenderedContentBoundary() private method

Renders the control and return the content boundary from TCallbackResponseWriter. This method should only be used by framework component developers. The render() method is defered to be called in the TActivePageAdapter class.
private getRenderedContentBoundary ( $control ) : string
return string the boundary for which the rendered content is wrapped.
    private function getRenderedContentBoundary($control)
    {
        $writer = $this->getResponse()->createHtmlWriter();
        $adapter = $control->getPage()->getAdapter();
        $adapter->registerControlToRender($control, $writer);
        return $writer->getWriter()->getBoundary();
    }