I am doing all my Grid Building using Server-Side code (class I created) because it's dynamic.
I created a class implementing ITemplate. In this class I create a single Label control within the InstantiateIn() method and I add it to the controls array.
When the grid loads, it shows all the parent rows, and it show the ">" button on the left of each row to expand and view it's details. However, when I click the ">" button, the grid refreshes and all the ">" buttons vanish. The nested rows seem to have all dissapeared. I am assuming there is an event that runs when the ">" button is clicked, and somehow because my grid is dynamic, I lose the detail rows. Anyone know what event I might be overlooking on the click of ">" to fix me problem?
-Ben
I created a class implementing ITemplate. In this class I create a single Label control within the InstantiateIn() method and I add it to the controls array.
When the grid loads, it shows all the parent rows, and it show the ">" button on the left of each row to expand and view it's details. However, when I click the ">" button, the grid refreshes and all the ">" buttons vanish. The nested rows seem to have all dissapeared. I am assuming there is an event that runs when the ">" button is clicked, and somehow because my grid is dynamic, I lose the detail rows. Anyone know what event I might be overlooking on the click of ">" to fix me problem?
-Ben