I am working on a system that requires me to display for example a list of all pallets, so I have to utilize indexed pages for this. The issue is that when I want to regenerate the page with new content (remove indexed pages and remove all elements from main page) the indexed pages stay there. They cannot be removed at all, I've tried everything, but Menu.DestroyPage does not want to remove it.
Maybe I'm mistaken, maybe I shouldn't remove the indexed pages, but if i run Page.RemoveAll on indexed pages they stay there, and so i have 20 empty pages. If I try to remove the indexed pages while being on one, i get sent to the last indexed page.
I am working on a system that requires me to display for example a list of all pallets, so I have to utilize indexed pages for this. The issue is that when I want to regenerate the page with new content (remove indexed pages and remove all elements from main page) the indexed pages stay there. They cannot be removed at all, I've tried everything, but
Menu.DestroyPagedoes not want to remove it.Maybe I'm mistaken, maybe I shouldn't remove the indexed pages, but if i run
Page.RemoveAllon indexed pages they stay there, and so i have 20 empty pages. If I try to remove the indexed pages while being on one, i get sent to the last indexed page.