Questions tagged [cross-page-postback]
13 questions
4
votes
2 answers
Cancel a cross-page postback?
I have a page that has several ListBoxes that have some cascading filtering based on the selected values using an AutoPostBack. The form takes all the selected values and generates an excel doc by cross-page posting to a different ASPX. The problem…

travis
- 35,751
- 21
- 71
- 94
4
votes
1 answer
Redundant data insert in table from Jsp page
I have one jsp page and after filling that page it goes to another report page which is readonly. On click submit on first form, it goes to second report page and saved data into database. I have back button on report second form ,or i refresh page…

VIvek
- 81
- 1
- 3
3
votes
1 answer
PreviousPage is null on one machine, not on the other
I have a website with a page that does a crosspage postback using an ASP:Button with a PostBackUrl as such:

bech
- 627
- 5
- 22
3
votes
1 answer
Cross-page posting. Is it a good pratice to use PreviousPage in Asp.net?
I found this article on MSDN talking about Cross-page posting.
I never worked with Page.PreviousPage. But I think its interesting.
Do you use it? Is it a good pratice, or a bad idea?
What do you think about?
Thanks.

Guilherme de Jesus Santos
- 4,955
- 5
- 43
- 68
2
votes
3 answers
How to retrieve values of multiple txtBoxes and display sum in a new page?
On Page1.aspx I have 3 txtBoxes with Compare Validators that ensure they are of type Currency.
On Page2.aspx I have another text box called txtResult whose job it is to display the sum of the other 3 txtBoxes when btnCalculate is clicked on…

ratboy
- 63
- 6
2
votes
1 answer
ASP.NET checkbox autopostback not working
I designed a simple page with, two text boxes, one checkbox, one button, and one label.
When I start I want to check the checkbox to make the button enabled, and then enter two numbers into the two textboxes, click the button to do addition, and…

Huizhong Xu
- 35
- 1
- 1
- 6
1
vote
1 answer
Post data to another aspx page
I have simple aspx page that has a form and a input field in it something like below.
//basket.aspx

Barış Velioğlu
- 5,709
- 15
- 59
- 105
1
vote
1 answer
Getting Value From Popup Window Using only JS & HTML
Is it possible to get a value from a popup window? Additionally I would like to use JS and HTML only, i.e. no PHP. Is this even possible? I've seen other posts on here like this one:
getting value from popup window
but that's in aspx.
I have googled…

Craig Wayne
- 4,499
- 4
- 35
- 50
0
votes
1 answer
One aspx page, two cross-page postbacks
Scenario
I have a site where users can register for a course, I'm developing a new feature allowing existing students to login with an email & password and register using their previous details.
Architecture
Register.aspx contains an email and…

Naeem Sarfraz
- 7,360
- 5
- 37
- 63
0
votes
1 answer
When the CrossPage1.aspx is displayed, I need to have same selection in the listbox before transferring to CrossPage2 page must still be selected
I have a front page (EmployeeDetails) with some text boxes and a listbox that will populate after adding text values. I need to have the listbox stay populated as I navigate to another page (SpecificDetails) that shows the details of the selected…
0
votes
2 answers
How do I do a cross page postback from codebehind?
I want to do something similar to what happens when you click an asp.net button that has a PostBackURL set. I've tried Server.Transfer but the URL doesn't change (which is something I want). Is there a better way to do this, or alternatively is…

Abe Miessler
- 82,532
- 99
- 305
- 486
0
votes
1 answer
User input is overridden by page_load during cross page postback
1the source page has a page load method like below:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = DateTime.Today.AddDays(1).ToShortDateString();
}
it will result a textbox1.text to display…

John
- 190
- 1
- 4
- 15
0
votes
1 answer
How do I use @reference like @PreviousPageType to reference multiple previous pages?
In ASP.net I have two similar pages that display summary information. I would like to pull from these pages a property value to display detailed information about the selected record in a detail page.
I was successful in doing it for just one…

Chris1804505
- 97
- 1
- 10