protected void gvViewUploadFile_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
LinkButton lnkFile = (LinkButton)e.Row.FindControl("lnkFilePath");
if (lnkFile != null)
ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(lnkFile);
}
}
Monday, December 9, 2013
How to add postback trigger to a Gridview Button control?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment