Copied to clipboard

Flag this post as spam?

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


  • David F. Hill 122 posts 242 karma points
    Aug 25, 2010 @ 02:58
    David F. Hill
    0

    dashboard - ascx with public property

    Hello Umbraco Colleagues,

    I have an ascx with a public property that sets a "mode".

    Now I need to put this ascx in a dashboard tab -

    but How to I construct the entry in dashboard.config to reference the control with the appropriate property?

    Thanks,

    David Hill

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Aug 25, 2010 @ 05:50
    Aaron Powell
    0

    You can't pass properties to classes which make up dashboard controls.

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Aug 25, 2010 @ 09:16
    Richard Soeteman
    0

    Hi David,

    As @Slace said you can't pass property values, however I don't know where the mode is for? But I can imagine that yoy can create another Usercontrol where you put this Usercontrol on and then pass the value through the new Usercontrol and configure the new Usercontrol in the Dashboard.config file.

    Cheers,

    Richard

  • David F. Hill 122 posts 242 karma points
    Aug 25, 2010 @ 20:50
    David F. Hill
    0

    Thank you. That should work.

    David

  • 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