Questions tagged [cross-page-posting]

By default, buttons and other controls that cause a postback on an ASP.NET Web page submit the page back to itself. This is part of the round-trip cycle that ASP.NET Web pages go through as part of their normal processing.

By default, buttons and other controls that cause a postback on an ASP.NET Web page submit the page back to itself. This is part of the round-trip cycle that ASP.NET Web pages go through as part of their normal processing.

Under some circumstances, you might want to post one page to another page. For example, you might be creating a multi-page form that collects different information on each page. In that case, you can configure certain controls (those that implement the IButtonControl interface, such as the Button control) on the page to post to a different target page. This is referred to as cross-page posting. Cross-page posting provides some advantages over using the Transfer method to redirect to another page.

More Info on MSDN here

25 questions
0
votes
0 answers

ASP.NET IsCrossPagePostBack is false on post

Our CMS is using a custom IHttpHandler to render our pages. When CrossPagePosting IsCrossPagePostBack is always false and i cant get the value of fields from PreviousPage
0
votes
2 answers

I want to get value of selected row of gridview for specific column and use that value for crosspage posting - how to implement this?

protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { GridViewRow row = GridView1.SelectedRow; string tenderno = row.Cells[1].Text; Response.Redirect("crossPage.aspx?tenderno=" + tenderno); } I am using…
user7029910
0
votes
1 answer

Retaining PreviousPage information after postback

I'm using the asp.net PreviousPage functionality and cross-page postback. The problem i'm running into is that if I have any postbacks on my page, the PreviousPage information seems to be lost. I don't want to put it in ViewState because that will…
Erik Funkenbusch
  • 92,674
  • 28
  • 195
  • 291
0
votes
2 answers

How to make previous page refresh after I click a button in pop-up window?

My main page has a GridView and Buttons for add/update. When I click the update button, a window pops up(used JavaScript) which has input fields and a Button for actually updating the record. What I want to know is how to refresh the main page when…
ardatosun
  • 457
  • 4
  • 22
0
votes
1 answer

Referencing another a web form in another web form to pass data

I've got a page called webform1 and it has a couple of textboxes and a button and I want to pass the data to a couple of labels on webform2. WebForm1 Button:
0
votes
3 answers

ASP.NET How to raise load event on previous page with cross page postbacks

I'm working on a wizard-like set of page, and I'm relying on cross page postbacks to navigate between them. I need to be able to trigger the Load event on the previous page in order to save the form data for the page. I've been told that for…
yogibear
  • 14,487
  • 9
  • 32
  • 31
0
votes
1 answer

Cant do a crosspage postback because .aspx is missing from my page names

In my current project which is quite large, I am missing my page extensions when visiting my pages in my browser. I created a fresh Web Forms project and it works just fine. Without page extensions I can not do cross page postbacks. How do I turn…
Victorio Berra
  • 2,760
  • 2
  • 28
  • 53
0
votes
3 answers

ASP.NET Passing Values in Separate Virtual Path

I know how to pass values between asp.net pages if its on the same virtual but what about of i have sites on different virtual? would it be possible? say i have this site1 localhost/search/search.aspx then i have this site2 which processes the…
Juvil
  • 490
  • 12
  • 26
0
votes
1 answer

sitemappath cross page postback

my website uses cross page postback from page to page to access information from the previous page. i am wondering if it is possible to do cross page postback when clicking on the links in a sitemappath as it seems it is simply doing a…
Ed
0
votes
1 answer

Cross-Page communication in firefox extension

I have two tabs that my extension uses and I wanted to pass events back and forth between them. I've already developed a Google Chrome extension that does this via the background page api, but there doesn't seem to be an equivalent in firefox. I…
OzBarry
  • 1,098
  • 1
  • 17
  • 44
1
2