Prado\Web\UI\WebControls\TCheckBoxList::onPreRender PHP Method

onPreRender() public method

This method overrides the parent implementation.
public onPreRender ( $param )
    public function onPreRender($param)
    {
        parent::onPreRender($param);
        $this->_repeatedControl->setAutoPostBack($this->getAutoPostBack());
        $this->_repeatedControl->setCausesValidation($this->getCausesValidation());
        $this->_repeatedControl->setValidationGroup($this->getValidationGroup());
        $page = $this->getPage();
        $n = $this->getItemCount();
        for ($i = 0; $i < $n; ++$i) {
            $this->_repeatedControl->setID("c{$i}");
            $page->registerRequiresPostData($this->_repeatedControl);
        }
    }