1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Read form data

Read form data

2 posts, 0 answered
  1. nathan leverington
    nathan leverington avatar
    6 posts
    Registered:
    13 Dec 2009
    24 Feb 2010
    Link to this post
    Hi,

    I'm new to .NET and SiteFinity, so apologese for the use of the wrong terminology.

    Basically I just want a page that can read the POST variables that it receives.  This would be the result of another page with a form posting data to it.

    In PHP for example, we sould simply get them like this:

    $nameFieldText = $_POST["name"];

    I've done some "googling" and have found examples of how to do it in .NET but I am having trouble using these various techniques within a SiteFinity control.

    I was able to use the QueryString technique to get this to work for GET type requests, but I really want to get soemthign working for POST.

    thanks

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    24 Feb 2010
    Link to this post
    Hello nathan leverington,

    Please take a look at MSDN How to: Pass Values Between ASP.NET Web Pages. You can also read the post data from a form using Request.Form, because POST variables can only be created as a result of a form being submitted.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about 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