In version 3.2.x, dotnetnuke makes improvements to the tree control. One of the improvements is to make the "Expand/collapse" step-by-step execution of the tree control, which looks good, but I don't like it. If the tree menu is long, it takes a long time.
In dnn, JavaScript scripts are called through the clientapi. ProgramIt will soon be known that the "Expand/collapse" action is performed through JavaScript. Find the corresponding script modification in the dnn/JS directory. It is easy to change. You only need to change it in two places. In dnn. controls. dnntree. find dnn In the JS file. dom. expandelement (octr); and dnn. dom. collapseelement (octr);, replace with octr. style. display = ''; and octr. style. display = 'none.
I modified the dnn. Controls. dnntree. js (version 3.2.2 dnn) file. If you don't want to change it, download and overwrite it directly.