In my case, none of the events (neither the button, nor the flag) fired. I was able to overcome this problem as follows.
On my main page, I closed the tag linking to an external .js file with the designation / "> instead of <script></script> .
for Ex: chanage <script src='../../Scripts/common/menu.Js' type='text/javascript' /> to <script src='../../Scripts/common/menu.Js' type='text/javascript' ></script>
Hope this helps you, Ramesh
source share