Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
WebHerichical Template Column Value
posted

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

Parents
No Data
Reply
  • 5739
    posted

    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

Children
No Data