Cannot convert type 'System.Web.UI.Control' to 'System.Web.UI.WebControls.ButtonField'
Here is my code for my .aspx file
Expand|Select|Wrap|Line Numbers
- <asp:ButtonField ItemStyle-Wrap="false" ButtonType="Link" HeaderText="Status" DataTextField="clusterStatusName" CommandName="update" />
Expand|Select|Wrap|Line Numbers
- clusterStatusLink = (ButtonField)GridView1.Rows[j].FindControl(ColumnClusterStatusName);
can anyone lend a hand?
Thanks!