Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In our project there are many Modules.. Like Adim,Enquiry, etc.

In One WebForm during transaction i'm updating the status of the column in database
when user clicks on "Confirm" Button.
User also has to click on Generate Button to complete the process after onclick on "Confirm" Button. But Problem occuring when user clicks on other modules without onclick of "Generate" button
if user clicks on anyother module then that status is remains like that rather i want to update the status when the module is getting changed.

eg:
A webform with "contactus","aboutus","help"
when if user updated the status of the column in backend during some process in "contactus"
meanwhile if user clicks on any of the other module i.e "aboutus" then status is remains that.


Note: is any page related event is available in asp.net to solve such a problem.
Posted
Updated 22-Dec-15 1:35am
v4
Comments
DotNetSteve 22-Dec-15 22:54pm    
Webforms, MVC? Multiple windows open at same time? Form with multiple submit buttons?

Generally need more information
JanardhanSharma 23-Dec-15 0:04am    
Asp.net Webform and in our application only one page can be open at a time. so here the issue is there are two buttons in one page (let's say "X") when user clicks on one of the button status is going to get update(i.e "UnderTransaction") in DB for one column. To complete the entire transaction process user also has to click one more button.. in that 2nd button onclick event status again will be updated like "TransactionCompleted".But Some times user is exiting from the page without clicking on 2nd button(rather clicking on someother page).. and transaction remains "Undertransaction".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900