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 Reply Children