Greetings.
I have following trouble with rad grid:
1. i have control with self-referencing hierarchy grid with hierarchyloadmode="Client"
in ItemCreated i wrote following things:
a) check for all list elements to remove button from expandcollapse column
b) for every element i use e.Item.ExpandHierarchyToTop(); to manually open all tree (this is done to not open list nodes, which have no child and even no button,since i removed it)
c) populating my control from one column with data from e.item.dataitem
2. i put grid in new page with asp:multiview, plus added another empty view and button to move between em.
3a. whenever grid view is set as default to show - all work nice, button click make change from grid page to empty and back.
3b. whenever empty page is set as default and i push button, i got exception on "e.Item.ExpandHierarchyToTop();"
NullReferenceException, while e.item and even e.item.dataitem are populated with needed data.
I have following trouble with rad grid:
1. i have control with self-referencing hierarchy grid with hierarchyloadmode="Client"
in ItemCreated i wrote following things:
a) check for all list elements to remove button from expandcollapse column
b) for every element i use e.Item.ExpandHierarchyToTop(); to manually open all tree (this is done to not open list nodes, which have no child and even no button,since i removed it)
c) populating my control from one column with data from e.item.dataitem
2. i put grid in new page with asp:multiview, plus added another empty view and button to move between em.
3a. whenever grid view is set as default to show - all work nice, button click make change from grid page to empty and back.
3b. whenever empty page is set as default and i push button, i got exception on "e.Item.ExpandHierarchyToTop();"
NullReferenceException, while e.item and even e.item.dataitem are populated with needed data.