Nethra R S

Nethra R S

  • NA
  • 310
  • 334.7k

How to access the CommandField in Gridview from code behind?

Dec 3 2011 3:40 AM
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)