Hi,
I've run into an issue in which I have a Parent Grid that holds two child grids on the same band, plus one child containing its own child grid within a band. My problem appears when I have multiple entries in a child band, I can only expand the first entry and not the subsequent ones. They have the "expand data" button and tag but there is no action performed upon click or any other indication that it is anymore then just an image (no hoverover change, etc).
This is how I have it set up:
Parent
Child1:single entry
Child2: multiple entries
Child2's Child: mulitple entries
Any entries beyond the first on child2 will not expand. The first entry will expand fine and show its child, it doesn't matter which is the first or subsequent entries, I've changed them up and swapped them around and whichever ones fall after the first entry will not expand. Using the default Claymation style sheet, the expand button is present, but will not change on hover over or expand on click.
With more investigation I've found that the rows are created, they are there in the html, the problem just lies with the expand button simply not working. It has no onclick and does not do anything when pressed.
-Pearson
Hi Olga,
Thanks for your reply. I attempted to reproduce the error with a simple data set but couldn't create it via that. But I think the issue was the hierarchy structure from that. From what I can think of to mimic how mine does not work is:
Parent: ID
Child1: Shares parent's ID
Child2: shares parents ID
Child3: shares unique ID with Child2 and is Child2's child. No relation with the Parent.
None of the binding depth properties were set, but when I did for testing purposes, I set the InitialBindDepth to -1 and the initialExpanddepth to -1 as well and what was produced was only the parent row, the first row of the 2nd child, and everything else just a blank white. No styling or info, simply black white space around these two entries. I did some digging and I found that the HTML is there, but there was no way to "unhide" it via the normal expand row button.
I hope this gives more insight, sorry about not being able to reproduce the error in a simpler way.
For the time being we just tossed the child3 band and are going on without it.
Hi Pearson,
This sounds very strange. In the WHDG you should not need to do anything except just set up your datasource and all levels should expand. Are you handeling any events and maybe canceling them? Are you setting the MaxDatabindingDepth property?If you are not doing anything special in your site, can you create a simple sample that reproduced the issue and attach it to the post, so I can see whats going on?
Thanksolga