For this you can try
string ctr = Page.Request.Params.Get("__EVENTTARGET");
Here ctr
will contain your ID
controls.
__EVENTTARGET
transfer information that calls the PostBack
page
You can also use __EVENTARGUMENT
to pass an argument to this control.
Page.Request.Params.Get("__EVENTARGUMENT")
source share