You must add a EditorZone to your page before you can use the EditDisplayMode, for example:
<asp:EditorZone ID="EditorZone1" Runat="server">
<ZoneTemplate>
<asp:BehaviorEditorPart Runat="server" ID="BehaviorEditorPart1" />
</ZoneTemplate>
</asp:EditorZone>
/Fredrik Normén -
fredrikn @ twitterASPInsider
Microsoft MVP, MCSD, MCAD, MCT
ASPInsidersMy Blog