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 583 posts 1407 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 11280 posts 23678 karma points MVP 11x 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 583 posts 1407 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 :(

  • Comment author was deleted

    Aug 24, 2011 @ 15:15

    Hi,

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

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

    Cheers,
    Tim

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x 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

Please Sign in or register to post replies

Write your reply to:

Draft