Recently, I faced an issue in which I need to get the ID of the control which is responsible for post back inside update panel.
If we are using Update Panel and then we cannot get the post back control id using Request.Form[“__EVENTTARGET”].
We need to use the following code snippet to get the control ID which is responsible for post back.
The above statement would give the client ID of the element. You can find more information on MSDN