I have added the new button in the order view page in the back-end, Now i want to when i click on the button my custom URL "www.google.com" page will open in the new window.
I am using the below code:
$this->_addButton('order_reorder', array(
'label' => Mage::helper('sales')->__('Generate'),
'onclick' => "setLocation('".$this->getUrl('CUstome URL LINK')."')"
));