Copied to clipboard

Flag this post as spam?

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


  • Steve Wilkinson 128 posts 187 karma points
    Oct 08, 2013 @ 15:20
    Steve Wilkinson
    0

    Request.QueryString not getting data in vb.net web user control

    I have a web user control set up as a macro that is called in a template using

    @Umbraco.RenderMacro("MappingUmbraco")

    the macro runs but the variable data isn't being retrieved. When using a get so the variables appear as this

    http://urlofwebsite/mapping/?Postcode=ex32+7hf&GC=D&btnG=Go

    Request.QueryString("Postcode") 

    doesn't get a value and likewise when using a post

    Request.Form("Postcode") 

    doesn't get a value either.

    I developed the web user control in Visual Studio and tested it using a asp:PlaceHolder in an aspx and everything worked as it should. It only fails when being used as a macro within umbraco

  • 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