November Happy Hour will be moved to Thursday December 5th.

EditTree Plugin Bug

Vote:
 

 

Hi
I have added a EditTree plugin which looks like this


namespace NameSpace.EPi.Templates.Public.Code.Admin
{
[EPiServer.PlugIn.GuiPlugIn(DisplayName = "Admin funksjoner",
Description = "Sommerskolen - administrative funksjoner",
Area = EPiServer.PlugIn.PlugInArea.EditTree,
Url = "~//Templates/Public/Code/Admin/AdminFunctions.ascx")]
public partial class AdminFunctions : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
}

and the .ascx file is like this

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminFunctions.ascx.cs" Inherits="NameSpace.EPi.Templates.Public.Code.Admin.AdminFunctions" %>


<A href="http://support.ep.se/Templates/Public/Code/Drawing/EnrollmentStatisticsPerDay.aspx" target=EditPanel>Link Test</A>



The plugin works find until I click Structure again and try to click. The EditPanel frame does not shift to the page selected. Also right clicking on the page and selecting from the menu does not change the content of the EditPanel frame.
WHat have I done wrong ?

#38510
Apr 13, 2010 13:29
Vote:
 

Hello,

Try to change the link target to "previewFrame" insted. 

<A href="http://support.ep.se/Templates/Public/Code/Drawing/EnrollmentStatisticsPerDay.aspx" Target="PreviewFrame">Link Test</A

#47391
Jan 27, 2011 10:34
Vote:
 

You'll need some javascript for the EPiServer UI to behave correctly.

http://world.episerver.com/Templates/Forum/Pages/thread.aspx?id=46836

edit: Oh, didn't notice the date... this was solved by our support way back http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=35265&epslanguage=en

#47402
Edited, Jan 27, 2011 11:37
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.