So does the MNTP need to be added in its own usercontrol? My code above was just in a normal web form page and is part of a larger form with logic etc. Would that not be possible?
Yes you can also add it to a webform page. If you want to use that webform page in the umbraco backend it should have /umbraco/masterpages/umbracoPage.Master as the masterpage.
uComponents Multi-Node Tree Picker in Custom section
Hi,
I'm using a multi-node picker in a custom section but it doesn't seem to pick up the properties I'm setting. Could anybody shed some light?
Here is my code
I wrote this wiki a while ago: http://our.umbraco.org/wiki/reference/code-snippets/use-mntp-on-a-usercontrol. Don't know if it's still working.
Jeroen
Thanks Jeroen.
So does the MNTP need to be added in its own usercontrol? My code above was just in a normal web form page and is part of a larger form with logic etc. Would that not be possible?
Yes you can also add it to a webform page. If you want to use that webform page in the umbraco backend it should have /umbraco/masterpages/umbracoPage.Master as the masterpage.
Jeroen
In your example what datatype is .Nodes?
I have a List<string> of node IDS from my database but the prerender method doesn't seem to like this
No worries, I fixed it, changed the prerender method to use SelectedIds instead of XMLValue.
Thanks for you help!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.