Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3341174
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:41:33+00:00 2026-05-18T00:41:33+00:00

I found a workaround for my specific need, but I thought I’d ask this

  • 0

I found a workaround for my specific need, but I thought I’d ask this question anyway.

Say I have a typical data entry web project with a master page — instead of using the Session variable and using Response.Redirect or Server.Transfer to redirect users who are part of the way through data entry to the next step, I’d rather use cross-page posting.

I tried setting up one of my websites in this manner, with a button like:

<asp:Button ID="next" text="next" runat="server" PostBackUrl="EnterInfo.aspx" />

When I went to test the changes, my <form> tag hadn’t changed at all:

<form id="aspnetForm" action="SelectUser.aspx" method="post" name="aspnetForm">

Did I miss any details here, or is cross-page posting simply not intended for use with a master page?

Edit:
The form tag above is the tag as rendered on the client — not the server-side tag. I’ve read MSDN articles (like this one) that seem to me to explicitly state that cross page posting actually posts the form to another page.

Perhaps I’ve misinterpreted this as changing the form’s action, but regardless my source form does not post invoke anything anywhere on my target when I click the button I altered — it merely posts back to the current page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:41:33+00:00Added an answer on May 18, 2026 at 12:41 am

    I don’t think using the PostBackUrl attribute will change the action of the form in the markup, as there could be many other controls just doing a normal postback. I imagine that some javascript is used to change the action of the form when this particular button is pressed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen this question asked previously but can not find a clear explanation
I found a question here about blogs on software development, but I would like
I found this link http://artis.imag.fr/~Xavier.Decoret/resources/glsl-mode/ , but there isn't a lot of description around
This seems like a fairly simple problem to me but I have been having
I have found this example on StackOverflow: var people = new List<Person> { new
I found this question, which is similar to a problem that I would like
Maybe someone found a workaround for the following problem: It seems as if AXIS
Found some old code, circa VS 2003. Now I have just VS 2008 (SP1)
I found this open-source library that I want to use in my Java application.
I found What are mvp and mvc and what is the difference but it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.