More in this section

Forums / General Discussions / Passing a variable to a form through the URL?

Passing a variable to a form through the URL?

2 posts, 0 answered
  1. John
    John avatar
    7 posts
    Registered:
    15 Sep 2011
    27 Jan 2012
    Link to this post
    Hey guys,

    I was trying to determine if there is an easy way to pass a variable to a form on a Sitefinity page by appending "?thevariable=whatever" in the url and inserting some code in a content box on the webpage?

    I am using Sitefinity 3.7 if this makes a difference. I am thankful for all suggestions. Thanks,

    John
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    31 Jan 2012
    Link to this post
    Hi John,

    You may need to implement a custom logic that uses Request.QueryString. Please consult the following articles:

    http://www.w3schools.com/ASP/asp_inputforms.asp


    http://msdn.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx

    and also:

    http://forums.asp.net/t/1190337.aspx/1


    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered