Hi there,
I'm having a difficult time getting the WebHierarchicalDataGrid to work properly. I've added one to a test page and without any code in the code behind file to bind any data to it, I get this error message:
I initially had tried binding some items to the collection, then leaving the call to databind out, then finally removing all code from the code behind and I still get this error. Does anyone know what's causing it? Code below - it's pulled directly from your samples page.
<ig:WebHierarchicalDataGrid ID="dg" runat="server" AutoGenerateColumns="false" AutoGenerateBands="true" InitialExpandDepth="0" InitialDataBindDepth="-1" Height="450" Width="700px" DataKeyFields="SupplierID"> <ExpandCollapseAnimation SlideOpenDirection="Auto" SlideOpenDuration="300" SlideCloseDirection="Auto" SlideCloseDuration="300" /> <Columns> <ig:BoundDataField DataFieldName="SupplierID" Key="SupplierID" Header-Text="Supplier ID" /> <ig:BoundDataField DataFieldName="CompanyName" Key="Company" Header-Text="Company" Width="230px" /> <ig:BoundDataField DataFieldName="ContactName" Key="Contact" Header-Text="Contact" Width="150px" /> <ig:BoundDataField DataFieldName="Region" Key="Region" Header-Text="Region" Width="80px" /> </Columns> </ig:WebHierarchicalDataGrid>
Thanks!
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Yep, that did the trick. Sorry for the late reply - was on vacation. Thanks!