How can I access the Edit State of a Detail Table? The code below can set the state of the CommandItemTemplate's LinkButton based on the EditIndexes.Count like below:
How can you get the EditIndexes count or state of the embedded or nested Detail Table?
<td style="width: 80px"> |
<asp:LinkButton ID="btnUpdateCommandSponsor" runat="server" CommandArgument="Update" |
CommandName="Update" ToolTip="Update Sponsor Record" Visible="<%# grdSponsoredLinkSponsor.EditIndexes.Count > 0 %>"><img alt="" |
src="images/icons/edit.png" style="border: 0px" /> Update</asp:LinkButton> |
</td> |
How can you get the EditIndexes count or state of the embedded or nested Detail Table?