I have created a simple SharePoint web part with HTMLAnchor tag with server click event handler by following the below article.
Code Piece: AnchorButton.ServerClick += new System.EventHandler(this.HtmlAnchor_Click);
In the development environment (SharePoint 2013) it works fine, but when I deploy the same solution in production, when I click on this button, it is refreshing my whole page so the expected results are missing.
Is this environment related issue? How do I troubleshoot this behavior/issue.