Code to find gridview footer control
To find TextBox Control
TextBox FooterTextValue = (TextBox)GridView1.FooterRow.FindControl("FooterTextBox");
To find Label Control
Label FooterTextValue = (Label)GridView1.FooterRow.FindControl("FooterLabel");
To find DropDownList Control
DropDownList FooterTextValue = (DropDownList)GridView1.FooterRow.FindControl("FooterDropDownList");
No comments:
Post a Comment