Copied to clipboard

Flag this post as spam?

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


  • Lee 95 posts 115 karma points
    Jan 26, 2012 @ 13:40
    Lee
    0

    returning url parameters

    Hi

    I have a page where I have a link 'Apply'

    with this link, I am passing a parameter 'id=1049' which is a reference to a node.

    When hitting apply the URL is as follows: http://localhost:10892/vacancy-contact.aspx?id=1805

    So as you see, I have included a parameter.

    This then fires a contact form user control (ascx). What I want to do is reference the parameter in the control ie

     

    currentNode.NiceUrl (id parameter)

     

    Any ideas?

  • Rodion Novoselov 694 posts 859 karma points
    Jan 26, 2012 @ 15:01
    Rodion Novoselov
    0

    Hi. var id = Convert.ToInt32(Request.QueryString["id"]),  huh? 

  • Lee 95 posts 115 karma points
    Jan 26, 2012 @ 15:16
    Lee
    0

    You beauty!!!

    Thanks Rodion!!!!  :) :)  :)

Please Sign in or register to post replies

Write your reply to:

Draft