I have trouble generating the url using
string.Format("/sitecore/shell/Applications/Content%20Manager/default.aspx?id={0}&la={1}&fo={0}",contentItem.ID, contentItem.Language)
This generates something like a path to the item but not an actual url that redirects to the content. Am I missing any settings? I really appreciate any help.
Thanks.