【发布时间】:2014-02-02 15:16:48
【问题描述】:
我的代码是从文本框中插入文本,我的代码做得很好,但我想在 ModalPopupExtender 显示之前清空文本框。我做了我的代码,但它没有工作。
protected void Btn_monthlyemployee_Click(object sender, ImageClickEventArgs e)
{
var Comment = (TextBox)((ImageButton)sender).Parent.FindControl("txt_monthlyemployee");
ftier.Addcomment(LblMonthlyPID.Text, LoggedUserID, txt_monthlyemployee.Text, DateTime.Now, DateTime.Now, false);
Comment.Text = string.Empty;
ModelExtenderPost.Show();
}
【问题讨论】:
标签: c#-4.0 asp.net-ajax