What is difference between “render” and “renderpartial” in yii?
Answer Posted / Soni Kumar Manwal
The main difference between 'render' and 'renderPartial' in Yii is that 'render' renders an entire view file, while 'renderPartial' only renders a part of it. When you call 'render', the specified view file will be fully rendered and sent as the response. In contrast, when you call 'renderPartial', only the specified block or widget within the view file will be rendered.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers