Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 547 posts 1287 karma points
    Aug 24, 2011 @ 13:56
    Sebastian Dammark
    0

    Doesn't Contour work through XSLT ?

    Just bought Contour for a client but apparently it doesn't work.

    I'm outputting my RTE through a simple XSLT value-of and nothing happens.
    When I put the RTE directly in the template it all works fine and dandy.

    What's the approach on this ?

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Aug 24, 2011 @ 14:25
    Jan Skovgaard
    0

    Hi Sebastian

    How are you rendering the macro? Using XSLT or using an umbraco:item?

    If you're using an XSLT macro to render the output you should look into using the RenderMacroContent extension I think...

    Hope this helps a bit.

    /Jan

  • Sebastian Dammark 547 posts 1287 karma points
    Aug 24, 2011 @ 14:46
    Sebastian Dammark
    0

    Yeah, but isn't there something with RenderMacroContent (RMC) and usercontrols that doesn't work.
    As far as I know RMC only takes XSLT macros, correct me if I'm wrong ??

    Anyhow, if I use RMC the only output I get are 2 buttons, Previous and Next, and my form doesn't contain either :(

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 24, 2011 @ 15:15
    Tim Geyssens
    0

    Hi,

    It's not possible to output .net controls through xslt

    And since the contour form is a .net usercontrol ...

    Cheers,
    Tim

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Aug 24, 2011 @ 15:34
    Jeroen Breuer
    1

    You can't output a .net control in xslt, but I think it's possible in Razor: http://our.umbraco.org/forum/developers/razor/22305-ASPNET-Usercontrol-inside-Razor-script.

    Jeroen

  • 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