__doPostBack - is a function which makes a postback to the server with an target element ID, and it should also fire the corresponding Event on server-side automatically. This is a very useful function.
Well there are several possible situations that I know where it doesnt work:
1) because you are passing an invalid ID;
2) you should use btnObj.ClientID for ASP.NET controls
3) because you are trying to call __doPostBack for a button that is placed on a page with Master Page or for a button that is inside an ASCX control.
The problem with the third one have gave me headache.
The problem there is that btnObj.ClientID is actually not the correct name of the element :) because it will return you and ID of: extreme_dev instead of the actual id extreme$dev which is correct.
This is why you should use btnObj.UniqueID instead.
So for example: __doPostBack(btnObj.UniqueID, '');
Good luck! :)
Please share this article!