Hi All,

Below is my commandfield embeded with a edit button. How to set the button display into none ?

It work fine in vs 2003 by using style = "display:none"
but it doesn't work in vs 2005.

asp Code:
  1. <asp:CommandField ButtonType="Button" ShowEditButton="false" ShowHeader="True"  >
  2.                         <ItemStyle HorizontalAlign="Center" Width="15px" Wrap="True" />
  3.                    
  4.                     </asp:commandfield>

Thanks a lot.