I have a file DocumentNew.cs with the code below. But what do i do next to pre-populate the current node mntp? And does this only work when creating a new page? Or also on existing pages with a mntp?
public class DocumentNew : ApplicationBase { //Constructor public DocumentNew() { Document.BeforeSave += new Document.SaveEventHandler(Document_New); }
MNTP: Source code vers. 3.03 pre-selected items
Hi,
Is it possible to get source code for vers. 3.03?
I would like to tweak it so i can show some pre-selected nodes before the user has made a choose of nodes.
Hi Peter,
Yes, our uComponents repo is version tagged - here's the source for v3.0.3: http://ucomponents.codeplex.com/SourceControl/changeset/view/3e1f5aa6ee5b - Press the "Download" link in the top-right menu.
Personally I wouldn't modify the source for MNTP, I'd hook into the "Document.New" event and pre-populate the MNTP's values from there.
Cheers, Lee.
Hi,
Sounds like a good idea to not mess with thier code and use doc new
Hi Lee,
Back at this thing again.
I have a file DocumentNew.cs with the code below. But what do i do next to pre-populate the current node mntp? And does this only work when creating a new page? Or also on existing pages with a mntp?
is working on a reply...