A text box “txtNewDescription” in foter raw of a gridview. I want to change the text of that textbox. Problem is in code (c#) behind the aspx
txtNewDescription.text = “Monir”;
does not work. Because in code, it can not recognize txtNewDescription.
TextBox txtNewDescription = (TextBox)GridViewEnrolmentData.FooterRow.FindControl(“txtNewDescription”);
txtNewDescription.Text = “Monir”;
—-> GridViewEnrolmentData is the name of my gridview