Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mahfuj 1 post 71 karma points
    Dec 11, 2023 @ 07:47
    mahfuj
    0

    Umbraco 12 get dropdown all values

    Hi

    I am trying to get one dropdown values for filter. How can I get all the values?

    I have tried

        var root = Model.Descendants();
    
    jsonContent = JsonConvert.SerializeObject(root, Formatting.None, new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore });
    

    enter image description here

  • 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.

Please Sign in or register to post replies