Prado\Web\UI\WebControls\TFileUpload::setMaxFileSize PHP Method

setMaxFileSize() public method

Note, this is an advisory value to the browser. Sets this property with a reasonably large size to save users the trouble of waiting for a big file being transferred only to find that it was too big and the transfer failed.
public setMaxFileSize ( $size )
    public function setMaxFileSize($size)
    {
        $this->setViewState('MaxFileSize', TPropertyValue::ensureInteger($size), self::MAX_FILE_SIZE);
    }