I have SharePoint 2016 project in visual studio 2015. My project contains 5 visual web parts with LinkButtons. But click button event is not working for any of link button.
First I thought it is the issue of link button, but when I added normal button, click was not working for this too. I added new test web part but the same problem is there.
Even I thought may be the project has some issue. I added a new empty SharePoint 2016 project in solution and added a test webpart with containing only single button and nothing else. But click event is not still working.
When I tried to debug, Page load event is working fine but click event is not. Does anyone have idea about it?