Copied to clipboard

Flag this post as spam?

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


  • sun 403 posts 395 karma points
    Sep 06, 2011 @ 04:22
    sun
    0

    How to make Response.Redirect() in xslt?

    I want to make a server redirect by using xslt, who can teach me? or maybe use a user control will be easier, please tell me how to do it

    Response.Redirect(currentNode.GetProperty("URL").Value.ToString().Trim());

  • Rich Green 2246 posts 4006 karma points
    Sep 06, 2011 @ 08:31
    Rich Green
    0

    Hey,

    There's some redirect options in this thread http://our.umbraco.org/forum/using/ui-questions/5255-301-redirect-options?p=0 although you should really add the direct as an xslt extension which you can use Dougs great post for here http://blog.percipientstudios.com/2010/11/12/make-an-app_code-xslt-extension-for-umbraco.aspx

    Regards

    Rich

  • 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