Multi Url Picker throwing null reference exception
I'm trying to use this Multi Url Picker but can't seem to get it to work. I've installed the package from the repository and followed the example code but get a System.NullReferenceException: Object reference not set to an instance of an object. Using Umbraco 7.1.8.
Multi Url Picker throwing null reference exception
I'm trying to use this Multi Url Picker but can't seem to get it to work. I've installed the package from the repository and followed the example code but get a System.NullReferenceException: Object reference not set to an instance of an object. Using Umbraco 7.1.8.
Any ideas?
Can you paste the code you are using? Which line does the null reference happen on? Does it blow up before you have retrieved any items?
I'm using it in 7.1.8 and it's fine. Here's a gist of my code
https://gist.github.com/anonymous/fe8f03f1a9ade0bc2b9d
I'm using the razor code example from the projects page like so:
Finally figured it out! Totally my bad!The code was nested in an if statement and I had totally referenced it wrong :(
is working on a reply...