Click here to Skip to main content
15,898,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: custom validator for C# 2010 web app Pin
jkirkerx24-Jun-12 10:23
professionaljkirkerx24-Jun-12 10:23 
QuestionParsing Error Pin
WebMaster24-Jun-12 0:33
WebMaster24-Jun-12 0:33 
AnswerRe: Parsing Error Pin
Sandeep Mewara24-Jun-12 2:57
mveSandeep Mewara24-Jun-12 2:57 
QuestionTall PDF Thumbnail, tweaking sample code, read file from disk, and not upload Pin
jkirkerx23-Jun-12 9:04
professionaljkirkerx23-Jun-12 9:04 
Answer[solved] Pin
jkirkerx23-Jun-12 9:37
professionaljkirkerx23-Jun-12 9:37 
NewsSpeek Object Pin
thun makara23-Jun-12 2:06
thun makara23-Jun-12 2:06 
GeneralRe: Speek Object Pin
Richard MacCutchan23-Jun-12 2:23
mveRichard MacCutchan23-Jun-12 2:23 
Questionweb pages communicate with each other Pin
sc steinhayse22-Jun-12 20:24
sc steinhayse22-Jun-12 20:24 
In a C# 2010 web form application that I am working on, I am hoping there is a better way for page 1 and page 2 to communicate with each other besides using just session variables. Basically on page 1 there are 'clear and 'next' buttons. The clear button clears the page and the 'next' button updates the database and points the user to page 2.
On page 2, I have the following buttons: back, delete, and submit.
Basically the user enters most of their information on page 1. They hit the 'next' button to continue entering information. If the user wants to change some of the information on page 1 when they are on page 2, the user hits the 'back' button.
Thus my problem is on page 1 for the 'next' button. This button needs to know if the user has hit the 'back' button from page 2. If the user has returned from page 2 to page 1, the user will only update a row in the database. If this is the first time for the user on the database, then, then an insert needs to occur in the database.
The only way I can think of for the two pages to communicte with each other is to use session variables.
If you have any other suggestions, can you tell me what they are?
AnswerRe: web pages communicate with each other Pin
Sandeep Mewara22-Jun-12 21:23
mveSandeep Mewara22-Jun-12 21:23 
QuestionPanel displayed from UserControl Pin
AB777122-Jun-12 7:48
AB777122-Jun-12 7:48 
AnswerRe: Panel displayed from UserControl Pin
jkirkerx22-Jun-12 10:10
professionaljkirkerx22-Jun-12 10:10 
GeneralRe: Panel displayed from UserControl Pin
AB777124-Jun-12 23:31
AB777124-Jun-12 23:31 
Questionset values for session variables Pin
sc steinhayse22-Jun-12 5:19
sc steinhayse22-Jun-12 5:19 
AnswerSession variable overview Pin
David Mujica22-Jun-12 6:05
David Mujica22-Jun-12 6:05 
AnswerRe: set values for session variables Pin
jkirkerx22-Jun-12 6:37
professionaljkirkerx22-Jun-12 6:37 
QuestionAssigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 1:59
sheringkapoting22-Jun-12 1:59 
AnswerRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
Sanjay Kunjam22-Jun-12 2:57
Sanjay Kunjam22-Jun-12 2:57 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 3:21
sheringkapoting22-Jun-12 3:21 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
AshishChaudha29-Jun-12 22:30
AshishChaudha29-Jun-12 22:30 
QuestionC# session variable Pin
sc steinhayse21-Jun-12 12:05
sc steinhayse21-Jun-12 12:05 
AnswerRe: C# session variable Pin
jkirkerx21-Jun-12 12:21
professionaljkirkerx21-Jun-12 12:21 
AnswerRe: C# session variable Pin
AspDotNetDev21-Jun-12 13:02
protectorAspDotNetDev21-Jun-12 13:02 
AnswerRe: C# session variable Pin
Rahul Rajat Singh25-Jun-12 0:56
professionalRahul Rajat Singh25-Jun-12 0:56 
QuestionShowing a single Modal Popup Extender on Click of Multiple Controls. Pin
sheringkapoting21-Jun-12 2:45
sheringkapoting21-Jun-12 2:45 
AnswerRe: Showing a single Modal Popup Extender on Click of Multiple Controls. Pin
jkirkerx21-Jun-12 10:58
professionaljkirkerx21-Jun-12 10:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.