SaaS CMS has officially launched! Learn more now.

EditTree plugin & Editpanel Issue



I Created the new EditTree Plugin.In this i created HyperLink to open abc.aspx page in EditPanel like

 <a href="/abc.aspx" target="EditPanel">Clear</a>

Now the page is open perfectly but when i go to Structure tab or My Tasks no link is working from tree i.e the corresponding page is not opening in Editpanel.

How i can resolve this issue.

Thanks in Advance



Jan 06, 2011 6:38

The page that you display in the Edit Panel, does it use the same masterpage as the EPiServer pages displayed in the panel? By doing that you make sure the scripts are loaded. The GUI probably breaks because your plugin does not load these scripts. Take a look at this blog post for some tips on using the system masterpage and some other tips:

Jan 06, 2011 9:29

I think  you are right, Yes i am using diffrent masterpage i.e

this.MasterPageFile = ResolveUrlFromUI("MasterPages/EPiServerUI.master")

bcoz i want that page look like admin scheduledplugin.

How i can achieve this?


Jan 06, 2011 10:29

Well, what you want is to mimic what scripts that are loaded in "working" edit panels. So just look at the rendered code from them and make sure your page loads the same scripts. If nothing else works you should basically be able to copy the script paths and hard-code them into your page. Not elegant, but you could start with that and then refine your solution.

Jan 06, 2011 15:10

Thanks for support.I found simple solution for this.We have to write these two functions in page and its working fine :)

function onNavigate(newPageLink)
   return -1;
  function onCommand(newCommand)
   return -1;

Jan 07, 2011 6:45
* 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.