How to load all child block in controller
Please try this code:-
$layout = Mage::app()->getLayout();
$block_header = $layout->createBlock('block/block')->setTemplate('template_url');
$block_links1 = $layout->createBlock('block/block','block_name')->setTemplate('template_url');
$block_header->setChild('block_as',$block_links1);
$block_links2 = $layout->createBlock('block/block','block_name')->setTemplate('template_url');
$block_header->setChild('block_as',$block_links2);
$block_links = $layout->createBlock('block/block','block_name')->setTemplate('template_url');
$block_header->setChild('block_as',$block_links);
$block_links->addItemRender('configurable','checkout/cart_item_renderer_configurable','checkout/cart/sidebar/default.phtml');
$slide = $block_header->toHtml();
I tried the below code :
$layout = Mage::app()->getLayout();
$block_header = $layout->createBlock('page/html')->setTemplate('page/html/upper.phtml');
$block_links1 = $layout->createBlock('grana_checkout/sidebar','grana_checkout_topbar')->setTemplate('grana/checkout/topbar.phtml');
$block_header->setChild('grana_topbar',$block_links1);
$block_links2 = $layout->createBlock('box/box','active.grana.box')->setTemplate('grana/box.phtml');
$block_header->setChild('grana_box',$block_links2);
$block_links = $layout->createBlock('checkout/cart','top.cart')->setTemplate('checkout/topcart.phtml');
$block_header->setChild('cart_overview',$block_links);
$block_links->addItemRender('configurable','checkout/cart_item_renderer_configurable','checkout/cart/sidebar/default.phtml');
$slide = $block_header->toHtml();