A man opened fire and threw a grenade, which did not explode, Thursday at the Istanbul offices of Turkey's President Tayyip Erdogan, Turkish media reports said.