1
Answer

How to access the CommandField in Gridview from code behind?

Photo of Nethra R S

Nethra R S

13y
15.7k
1
Hi All,

I have a commandfield in Gridview Like this:
<asp:CommandField  HeaderText="Edit" ControlStyle-Font-Underline="false"
                                        ControlStyle-CssClass="TextBoxStyle" ShowEditButton="True" >
                                      <ControlStyle CssClass="TextBoxStyle" Font-Underline="False" />
                                    </asp:CommandField>

How can i access this commandfield as i want to make it invisible for a certain event

Answers (1)