I have an image button in an TemplateDataField of Band(0) in a WHDG.
<ig:TemplateDataField Key="ClearCol"> <ItemTemplate> <asp:ImageButton ID="ClearButton" runat="server" CommandName="CLEAR" CommandArgument='<%# Eval("Transport Order ID") %>' ImageUrl="~/images/ClearBookButton.gif" /></ItemTemplate>
I am handling the ItemCommand OK but SERVER side I want to be able to read the contents of other cells from the same row of the grid. Row selection is not enabled. How do I do that?
I have been able to get the grid row back to my server code but don't know how to read the values in the grid row (either data or values in the grid)
The WebHierarchiechalDatGrid does not have a DataView like the WebDataGrid. I am struggling to find a way round GridRecordCollections and ContainerGridCollections . The documentation does not appear to match the implementation (2011.1) (e.g. The Rows property is a GridRecordCollection which the documentation says has an Item property which is a GridRecord whereas the implementation has an Items property which is a GridRecordItemCollection class)
A conceptual overview would be nice but failing that a simple example would help.
Thank you
Hello,
Please go through the following forum thread where Alexander explains how to refer the current row in Itemcommand.
http://community.infragistics.com/forums/p/32581/181794.aspx#181794
Please let me know if you have any further questions regarding this matter.