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
1005
How to change TemplateDataField values from InitializeRow sub in codebehind.
posted

Hello, I have a WebDataGrid with the TemplateDataField shown below. First, I would like to get a value from the first column in each row, then I would like to create the NavigateUrl value for each TemplateDataField in the WebDataGrid. Please help with codebehind values for WebDataGrid1_InitializeRow Sub.

<ig:TemplateDataField Key="View">      
    <ItemTemplate>             
        <asp:HyperLink ID="hlView" runat="server" Target="blank">View</asp:HyperLink>
    </ItemTemplate>      
</ig:TemplateDataField>

Thanks much! Dave

Parents
No Data
Reply
  • 18204
    Offline posted

    Dear Dave,

     

    Thank you for contacting Infragistics!

    We have received your support request concerning setting the NavigateUrl in a TemplateDataField during InitializeRow, and this case has been assigned to me.  Infragistics is dedicated to helping you solve this issue.  Our team and I have done an initial review of your case and I am looking into the methods to achieve this and will get back to you by the end of Tuesday with more information or questions for you.

    Looking forward to hearing from you.

Children