Copied to clipboard

Flag this post as spam?

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


  • Daniel Bardi 924 posts 2556 karma points
    Jun 16, 2010 @ 03:46
    Daniel Bardi
    0

    Need return value from custom tree using ContentPicker control

    I have a custom tree that stores a string value (non-numeric) in nodeId for each node.

    Nodes are NOT built from database records

    I have the a tree displaying in a dialog activated from an umbraco.controls.ContentPicker .

    The problem:  ContentPicker default javascript expects a numeric value and attempts to find a content or media node in the database.

    I need to return the nodeid value only from my tree and not attempt a lookup in the database.

     

    Any thoughts?

  • Tim 1193 posts 2655 karma points c-trib
    Jun 16, 2010 @ 22:01
    Tim
    0

    I'm not sure on the javascript (although it sounds like you might have to write a custom function), but I'd be interested to know how you got the content picker to work with a custom tree, as its something I'll be looking at in an upcoming project.......

    :P

  • 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