So I had this question asked for a pre-interview screening test and I’m pretty sure none of the answers listed are correct. I looked it up to make sure and I can’t find any of them. Can someone confirm?
Which of the following event handlers belongs to an ASP.NET button control?
- ServerOnClick
- ServerClick
- OnServerClick
- OnServer
ServerClickis an event of the controlHtmlInputButtonwhich is what you get when you addrunat=serverto a html-button.So it’s a button and it’s a server-control. Hence it might be the correct answer.