Discover which Control Raised a PostBack

added by gilf
3/1/2010 12:25:37 AM

0 Kicks, 60 Views

Yesterday I needed a solution for an annoying problem. I have some buttons on a ASP.NET web form and I need to know which button raised the postback not in the event itself but in the page load event. This post will show a way to solve this conundrum.