Posting to a non-rendering Page

Discussion in 'ASP .Net' started by =?Utf-8?B?VC4=?=, Mar 9, 2006.

  1. Back in the earlier days of ASP it was easy for an HTML page (let's call it
    page H) to post to an ASP page (we will call it page A), and then wire page A
    so that based on what was posted by page H, transfer/redirect to either page
    B or page C.
    What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
    wire the code for determining which page to go to in the onload event handler
    for page A or what?

    Thanks in advance

    T.
     
    =?Utf-8?B?VC4=?=, Mar 9, 2006
    #1
    1. Advertisements

  2. =?Utf-8?B?VC4=?=

    Hans Kesting Guest

    Re: =?UTF-8?B?UG9zdGluZyB0byBhIG5vbi1yZW5kZXJpbmcgUGFnZQ==?=

    > Back in the earlier days of ASP it was easy for an HTML page (let's call it
    > page H) to post to an ASP page (we will call it page A), and then wire page A
    > so that based on what was posted by page H, transfer/redirect to either page
    > B or page C.
    > What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
    > wire the code for determining which page to go to in the onload event handler
    > for page A or what?
    >
    > Thanks in advance
    >
    > T.


    Regular scenario:
    - page H is an aspx page, containing input controls ans one or more
    buttons.
    - when the user clicks on a button, the page posts back to itself!
    - in the OnClick handler for that button you process the input,
    possibly ending in a redirect to B or C

    Hans Kesting
     
    Hans Kesting, Mar 9, 2006
    #2
    1. Advertisements

  3. Thanks Hans for the regular scenario. How about my scenario though, I want
    page H to be HTML that posts to a non-rendering ASP page just for processing

    T.

    "Hans Kesting" wrote:

    > > Back in the earlier days of ASP it was easy for an HTML page (let's call it
    > > page H) to post to an ASP page (we will call it page A), and then wire page A
    > > so that based on what was posted by page H, transfer/redirect to either page
    > > B or page C.
    > > What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
    > > wire the code for determining which page to go to in the onload event handler
    > > for page A or what?
    > >
    > > Thanks in advance
    > >
    > > T.

    >
    > Regular scenario:
    > - page H is an aspx page, containing input controls ans one or more
    > buttons.
    > - when the user clicks on a button, the page posts back to itself!
    > - in the OnClick handler for that button you process the input,
    > possibly ending in a redirect to B or C
    >
    > Hans Kesting
    >
    >
    >
     
    =?Utf-8?B?VC4=?=, Mar 9, 2006
    #3
  4. =?Utf-8?B?VC4=?=

    Hans Kesting Guest

    Re: =?UTF-8?B?UG9zdGluZyB0byBhIG5vbi1yZW5kZXJpbmcgUGFnZQ==?=

    > Thanks Hans for the regular scenario. How about my scenario though, I want
    > page H to be HTML that posts to a non-rendering ASP page just for processing
    >
    > T.


    In that case it's as you thought:

    In the Page_Load, read the Request to find out all posted values and
    act accordingly.


    Hans Kesting
     
    Hans Kesting, Mar 9, 2006
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Heckart
    Replies:
    6
    Views:
    718
    Rob Heckart
    Nov 26, 2003
  2. alanb
    Replies:
    2
    Views:
    796
    alanb
    Apr 23, 2004
  3. =?Utf-8?B?ZWpz?=
    Replies:
    2
    Views:
    519
    =?Utf-8?B?ZWpz?=
    Nov 4, 2004
  4. =?Utf-8?B?QXR1bCBCYWhs?=

    Cross page posting with Master page

    =?Utf-8?B?QXR1bCBCYWhs?=, Jul 25, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    11,170
    mohanhegde
    Nov 24, 2010
  5. Nishi Bhonsle
    Replies:
    0
    Views:
    665
    Nishi Bhonsle
    Feb 25, 2004
  6. Peter Mount
    Replies:
    4
    Views:
    1,198
    Peter Mount
    Jan 31, 2006
  7. AmitKu
    Replies:
    7
    Views:
    822
    John Timney \(MVP\)
    Jan 8, 2007
  8. Replies:
    8
    Views:
    748
    Adrienne Boswell
    Jan 10, 2007
Loading...