Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I managed to make it to work by
changing the line to this:
Menu.PageLoader.GetChildrenCallback = new HierarchicalPageLoader.GetChildrenMethod(LoadChildren);
However, I don't understand "LoadChildren". The funciton is supposed to take one parameter (Pagereference),
but exception occur "method name is expeced".
Someone how have a good explanation on this?
Jon Haakon
It must be an error in the example. The GetChildrenCallback is a delegate expecting a method that conforms to methothname(Pagereferece).
When the pageloader code is run it will use the specified method instead of the builtin.
Hi,
I'm trying to test the documentation from Episerver SDK 6 by using the navigation MenuList.
However Visual Studio reports a compilation error. Here is the code and then the error
Kind regards,
Jon Haakon