Hi,
I'm trying to build a multi-page admin area for a plugin. The first configure page works perfectly, but subsequent pages don't display properly.
I have made subsequent pages by getting their views to use the admin area's layout. I've also used a 5 part URL for the routes.
My problem is that although all of my links work for moving around my plugin pages, the admin area links are all broken.
The most obvious manifestation of this problem is that the entire admin menu lacks the "/Admin" portion of the URL. There is also a rendering fault where the close button of the ajax notification bar is visible.
I have worked out that the Admin layout needs to be rendered in the context of the MVC Admin Area, but I don't know how to ensure that my own views make this happen. Note that I have added .DataTokens.Add("area", "Admin") to my route mapping.
I really hope someone can help, this stuff is really confusing me.
P.S. I did get the admin menu to render properly once, but my own action links were broken then, particularly those in Telerik Grids. Can't remember what I did, just hoping someone's already been there.
Cheers,
Mark