The Property collection on the PageData class has a property called PageTargetFrame. Is that what you are looking for?
EPiServer CMS Development Team
I think so
I would like to check the defaultframe for a certain pagetype when I create a link manualy
PageData page = GetPage(propPage);
Can I get the target like this: page.Property["PageTargetFrame"] ?
You will get the selected frame (in edit mode) for a specific page rather than the default value for a page type.
For building links to pages it is probably what you are looking for. The code could look something like this:
string targetFrame = page["PageTargetFrame"] as string;
//insert framing code here
How do I read the Default frameTarget (Målram) for a special pagetype/page
I would love something like a LinkTarget or PageLinkTarget property in the PageData family