With this code, i try to Close a Window (the way i\'m doing it works) but i have also an Onclick event which is ignored!
I ran into this problem and using UseSubmitBehavior="false" nearly did the trick. Be sure to have your OnClientClick call set up correctly:
My code was using OnClientClick="return ValidateSearch();" which is incorrect. It should just be
See the Source here (and tell them thanks!)
If it is set up incorrectly, the OnClick function will not fire.