PDA

View Full Version : cWebTreeView server handler



Albin
18-Nov-2015, 08:33 AM
Hi.

Not sure if this is for only 18.2 but I just saw it in 18.2.
I we fill a cWebTreeView with the Function OnLoadChildNodes, and then we have the pbServerOnSelect to true.
When we start to drill down in this cWebTreeView both the OnLoadChildNodes and the OnSelect works.
When we get down to the last stage we show a new view depending on which node the user clicked.

But if the user clicks on the same node again or one of the nodes in the same hierarchy no server calls gets called.
Both the OnLoadChildNodes and the OnSelect stops working. So the user can never activate a view twice.

Solution, Refresh the browser and the cWebTreeview refreshes everything and it works again (until you want to click a node a second time).

Albin
18-Nov-2015, 08:44 AM
I just realized that this only happens when we activate a view that has the new tab container.
So this is something for Harm.
I guess this will be solved with the next build when the tab container bug is fixed?
The thread about the tab container. http://support.dataaccess.com/Forums/showthread.php?57614-Strange-behavior