在c#中,如何检查页面加载方法中是否已单击链接按钮?
我需要知道在点击事件被触发之前是否被点击了.
if( IsPostBack ) { // get the target of the post-back, will be the name of the control // that issued the post-back string eTarget = Request.Params["__EVENTTARGET"].ToString(); }