More in this section

Forums / Developing with Sitefinity / Link to meta field in custom module

Link to meta field in custom module

3 posts, 1 answered
  1. David van Geel
    David van Geel avatar
    59 posts
    Registered:
    19 Aug 2009
    04 Mar 2010
    Link to this post

    Hi All,

    I am trying to add the button selector (linked to ~/Sitefinity/UserControls/Dialogs/PagesSelector.aspx) on a meta field in a custom module I am building. The button displays fine and the appropriate code/screen let's me select a (internal) page.

    Regretfully when I click on the Insert button to insert the selected page in the meta field I get an Javascript error message about the sfref attribute which is not defined. Is there a way to work around this? Or maybe another to allow the user to select a page from the content tree?

    Regards,

    David

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    04 Mar 2010
    Link to this post
    Hi David van Geel,

    Take a look at this post, the code posted by me should work without problems.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Answered
  3. David van Geel
    David van Geel avatar
    59 posts
    Registered:
    19 Aug 2009
    04 Mar 2010
    Link to this post
    Hi Ivan,

    Thanks for that pointer. Works like a charm!

    Regards,


    David
Register for webinar
3 posts, 1 answered