2009-07-16 56 views

回答

3
string postbackControlName = Request.Params.Get("__EVENTTARGET"); 

這應該給你導致回發的控件的名稱。

然後使用Page.FindControl(postbackControlName);獲得控制權,您可以訪問該ID。

See this article for more details.