Read and edit frame information

Namespace:  EPiServer.DataAbstraction
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
[SerializableAttribute]
public class Frame

Remarks

EPiServer has at least 2 system frames, "_blank" and "_top". More frames can be added using the administration mode and then selected by the editor.

Examples

Example that demonstrates listing all available frames
CopyC#
FrameCollection frames = Frame.List();
foreach (Frame frame in frames)
    Response.Write("Frame=" + frame.Name);
Example that creates a new frame
CopyC#
Frame frame = new Frame();
frame.Name = "MyFrame";
frame.Description = "Frame for special window";
frame.Save();

Inheritance Hierarchy

System..::.Object
  EPiServer.DataAbstraction..::.Frame

See Also