rasmusjp / umbraco-multi-url-picker

Multi Url Picker for Umbraco 7
MIT License
31 stars 29 forks source link

Capitalisation of properties #33

Closed danimalx closed 9 years ago

danimalx commented 9 years ago

On my server version of a project the following code works:

foreach (var item2 in multiUrlPicker) { @item2.Name

                    }

However on my local version I can only retrieve properties with lower case, e.g.

    <a href="@item2.url" target="@item2.target" class="btn-default btn-paly">@item2.name</a>

Using Umbraco 7.2.6.

rasmusjp commented 9 years ago

It looks like you are getting the raw json back, is the RJP.MultiUrlPicker.dll present in the bin folder?

danimalx commented 9 years ago

I have fixed now, it was a coding error.