Hi
I have a radtreeview which is used for a directory structure/file list viewer, and there is a problem when folders are collapsed.
When I have folder (node) A, with subfolder B (child node), if I expand folder A node in the tree and then click on folder B child node, the files are displayed in my content pane correctly. However, once subfolder B node is selected, if I then collapse folder A (parent folder), the tree node collapses correctly, however the content view (list of files) is also refreshed to those contained in the root node. I want to prevent this redirect, and have the content view unchanged (same behaviour as in windows file explorer). I've had a look around and it seems like the OnClientNodeCollapsing is where I need to make the fix, but here I'm only using the default behaviour. And I don't want to disable the collapse itself in the tree, only the redirect in the content.
I'd appreciate any help, thanks
I have a radtreeview which is used for a directory structure/file list viewer, and there is a problem when folders are collapsed.
When I have folder (node) A, with subfolder B (child node), if I expand folder A node in the tree and then click on folder B child node, the files are displayed in my content pane correctly. However, once subfolder B node is selected, if I then collapse folder A (parent folder), the tree node collapses correctly, however the content view (list of files) is also refreshed to those contained in the root node. I want to prevent this redirect, and have the content view unchanged (same behaviour as in windows file explorer). I've had a look around and it seems like the OnClientNodeCollapsing is where I need to make the fix, but here I'm only using the default behaviour. And I don't want to disable the collapse itself in the tree, only the redirect in the content.
I'd appreciate any help, thanks