C#从选项卡顺序中删除GridView命令字段链接
我有三列GridView,一列是模板字段textbox,另外两列是CommandFileds Insert、Delete。现在我想从CommandFields中删除制表符。 我只需要在文本框上添加标签。如果我试图将C#从选项卡顺序中删除GridView命令字段链接,c#,gridview,tabs,C#,Gridview,Tabs,我有三列GridView,一列是模板字段textbox,另外两列是CommandFileds Insert、Delete。现在我想从CommandFields中删除制表符。 我只需要在文本框上添加标签。如果我试图将TabIndex=“-1”放在CommandField上,我会得到错误 <asp:GridView ID="gvStavke" runat="server" BackColor="White" AllowPaging="True" PageSiz
TabIndex=“-1”
放在CommandField
上,我会得到错误
<asp:GridView ID="gvStavke" runat="server" BackColor="White" AllowPaging="True" PageSize="20" TabIndex="-1" >
<Columns>
<asp:TemplateField HeaderText = "Unesi Cijenu">
<ItemTemplate>
<asp:TextBox ID="txtJedinicnaCijena" runat="server" Width="100px" >
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField SelectText="IZMJENI" ShowSelectButton="True" />
<asp:CommandField DeleteText="IZBRIŠI" ShowDeleteButton="True" />
</Columns>
</asp:GridView>