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
75
Building grid from code behind with dynamic columns
posted

Hello,

I am currently building a webHeirarchicaldata grid and I am adding columns and bands from code behind due to the dynamic nature of the content. I am having some errors. I will give you as much detail as I can.

markup

<ig:WebHierarchicalDataGrid ID="whdg1" runat="server" Width="99%" Scrollbars="Horizontal, Vertical" Top="235px" Left="5px" AutoGenerateColumns="False"

InitialDataBindDepth="0" InitialExpandDepth="0" AutoGenerateBands="False" DataKeyFields="SiteId" Style="margin: auto">

<ExpandCollapseAnimation SlideOpenDirection="Auto" SlideOpenDuration="300" SlideCloseDirection="Auto"

SlideCloseDuration="300" />

</ig:WebHierarchicalDataGrid>

Columns

DataTable

Errors

Any help would be appreciated.

Thanks

Parents
No Data
Reply Children