AI OnAI Off
using the UrlResolver, you could set the context mode to "edit":
UrlResolver.Current.GetUrl(contentReference, language, new VirtualPathArguments() { ContextMode = ContextMode.Edit });
There's also
PageEditing.GetEditUrl(contentLink);
or
PageEditing.GetEditUrlForLanguage(contentLink, language);
How can I generate/get an url to a page in the CMS?
Like this: http://localhost:49196/episerver/cms/#viewsetting=viewlanguage:///no&context=epi.cms.contentdata:///2650
Do I have to hard code it or is there any methods to use for getting the url?