Copied to clipboard

Flag this post as spam?

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


  • Erik 9 posts 29 karma points
    Sep 22, 2013 @ 17:22
    Erik
    0

    Razor in umbraco 4 va Razor in Umraco 6?

    In Umbraco 4 my WebUserControl does work but they dont in Umbraco 6

     

    a simple thing like this procedure doesnt work for me :(

            if (Request.QueryString["ExecutAThingHere"] != null)

            {

                ExecutAThingHere(Request.QueryString["ExecutAThingHere"]);

            }

     

    In Umbraco 4 my code goes through the if statement and enters the ExecutAThingHere function but in umbraco 6 it doesnt. It seems like Umbraco 6 doesnt support Request.QueryString at all?

  • Arie 224 posts 675 karma points
    Sep 25, 2013 @ 01:22
    Arie
    0

    Did you ever find the answer to this? I'm running into a similar issue on Umbraco 6.1.2 and 6.1.5.

    @Request.Url returns the URL fine, but
    @Request.QueryString doesn't return anything.
    

    To add to the puzzle, it does work on a different server. Web folders are identical between the two servers.

    Ideas?

  • Erik 9 posts 29 karma points
    Nov 12, 2013 @ 08:06
    Erik
    0

    nope not exactly but I found out that webusercontrols doesnt not work in MVC templates

  • 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