Hi .
i m using webherirchical grid. i have add tempalte column in grid and plce button , i want to retrive specific column value in temlate button clikc event ,
can anyone pls tell me how t o retrive
regards
Rajan
Hi,
Here's an example of a templated column in the grid: Here it is getting the customerid field, you can get any column you want.
<ig:TemplateDataField Key="SelectButton"> <ItemTemplate> <asp:LinkButton ID="SelectLink" CommandName="SelectedClick" CommandArgument='<%# DataBinder.Eval(CType(Container, Infragistics.Web.UI.TemplateContainer).DataItem, "CustomerID") %>' runat="server" >Select</asp:LinkButton> </ItemTemplate></ig:TemplateDataField>
Ed
You need to handle the ItemCommand event of the grid. Look at the following post for detailed information: http://community.infragistics.com/forums/p/32581/181794.aspx#181794
That's an old post and the bug he refers to is not a problem anymore.