How can I detect server-side (c#, asp.net mvc) if the loaded page is within a iframe? Thanks
Old question but why not a more simplistic approach like
var isFramed = self !== parent