Hi,
Is it possible to disable a gridview and enable a templatefield inside a column?
- grdEmployee.Enabled=false;
and which contains a template field of linkbuttons
- <asp:TemplateField HeaderText="Branch">
- <EditItemTemplate>
- <asp:TextBox ID="txtBranch" runat="server" Text='<% Bind("Branch") %>' />
- </EditItemTemplate>
- <ItemTemplate>
- <asp:LinkButton ID="lnkBranch" runat="server" Text='<% Bind("Branch") %>' OnClientClick="openPopupWindow()" />
- </ItemTemplate>
- </asp:TemplateField>
But whenever I disable the gridview, the linkbutton disappears and the column appears as plain text. I want to disable the gridview but not the linkbutton template field column
Thanks in advance