Author: dgupta.sw | Posted on: 12/28/2009 3:59:04 PM | Views : 649

I have 2 aspx pages- dataSubmit.aspx and dataDisplay.aspx.
dataSubmit.aspx gets has a submit button that save all input fields to database, I have a javascript on this page to open the dataDisplay.aspx as a popup and display the database contents.
But the problem happens some time becasue of the race condition, DataSubmit is saving information to database but DataDisplay opens and doesn't get the latest information becuase the database doesn't get update yet.
Is there any way i open the popup (DataDisplay) after page(DataSubmit) submition OR any other way around to solve this issue?
 
Datasumit.aspx
[open pop -up - window.open]
[DataSubmitForm.Sumit()]
 
DataSubmit.cs
[submit() - save input fields to database ]
 
DataDisplay.cs
[Display data from database]
...

Go to the complete details ...