Copied to clipboard

Flag this post as spam?

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


  • Connie DeCinko 931 posts 1160 karma points
    Sep 13, 2010 @ 17:14
    Connie DeCinko
    0

    Standard for submitting form to another page

    I have the following scenario and am looking for the best way to structure things.  I am finding lots and lots of conflicting advice online.

    ·         I have a user control on my home page for a simple search.

    ·         I have a user control on a search page for a detailed search.

    ·         I have a user control on a third page that displays search results in the same format, no matter which form was used (simple or detail) to begin the search.

    I’ve tried several things that get me to the detail page, but am getting various errors getting the data from the calling form.  Before I provide any of my broken code, I was hoping to start clean with thoughts and suggestions.

    Thanks.

     

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Sep 13, 2010 @ 17:18
    Matt Brailsford
    0

    Hi Connie,

    There isn't really and hard fast rule, so kind of depends on your circumstances.

    The easiest option would be to use the query string or plain old input fields, and just check Request.QueryString[] or Request.Form[] for the value.

    Many thanks

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft