+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Automatically select the parent taxonomy in a hierarchial taxonomy when child is chosen

Automatically select the parent taxonomy in a hierarchial taxonomy when child is chosen

3 posts, 0 answered
  1. JT
    JT avatar
    4 posts
    Registered:
    14 Feb 2011
    15 Nov 2011
    Link to this post
    Hey everyone, not sure if this is do-able or not but we have built a custom module based on the products module Within the custom module we have added some custom classifications (hierarchial taxonomies). What we are trying to achieve is that when a child taxonomy is selected on the backend, we want to automatically select that taxons parents within that branch of the taxonomy.  I have attatched two screen shots to simulate what we are trying to do. Any hints, ideas would be appreciated.

  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    18 Nov 2011
    Link to this post
    Hello Jt,

    Unfortunately this is not implemented out of the box. Our HierarchicalTaxonField doesn't handle this logic. You would have to inherit this control and implement the parent checking in your custom class.

    Apologies for the inconvenience.

    Kind regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    24 Jul 2012
    Link to this post
    It'd like to vote for a method in the API to handle this...
3 posts, 0 answered