I have three classes MainMenu, SubMenu and Secondary SubMenu. I have a cascading drop down box which is used when creating Secondary Submenu. A main menu is selected which then shows a drop down with sub menus. When I select an item in the MainMenu drop-down box I get an error:
System.InvalidOperationException: A circular reference was detected while serializing an object of type 'System.Reflection.Module'.
The SubMenu references the MainMenu and the SecondaryMenu references the SubMenu.
I'm not sure where to begin looking for the error?