During the Page_Load, I would like to capture the control that performed the postback.
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
}
// Capture the control ID here.
}
As usual, any ideas would be greatly appreciated!
For anyone who might interested in this (at least what worked for me). Cen provided the answer.
In your Page_Load event add:
Then in your basepage code add:
You can see the original post here
Hope this helps.