I'm trying to add a bit of UI to the EPiServerUI.master page in 7.5. Fortunately there's this very thorough treatment from world.episerver.com that takes you through the process:
Unfortunately, step one is basically:
When I do this, I get a compiler warning:
that Warning102'EPiServer.UI.SystemPageBase' is obsolete: 'Use EPiServer.Shell.WebForms.WebFormsBase instead'C:\Projects\dss_clean\DSSWeb\Plugins\Units\UpdateTinyMCESettings.aspx.cs1622DSSWeb
No problem, I'll just change the ol' base class from SystemPageBase to WebFormsBase and....
Error102The name 'ResolveUrlFromUI' does not exist in the current contextC:\Projects\dss_clean\DSSWeb\Plugins\Units\UpdateTinyMCESettings.aspx.cs2633DSSWeb
So... does anyone know what the new, non-deprecated way of getting the URL from the UI is? Neither "World" nor Google's search seem to be any help tracking this down.
I think you can use EPiServer.UriSupport.ResolveUrlFromUIBySettings
If you want to do an admin plug-in for EPiServer 7.5, I suggest that you read my blog post:
I can also mention that will look into adding similar support for MVC quite soon...
Ian, the class you inherit from will automatically add the master page, so there's no need to do that in your code.
Edit: If that's what you're looking for. :)
Thanks guys! Very helpful information on all counts...