Back Link
-
I have a "Back" link in aspx page. If clicked on this link it go to previouspage. For this I wrote goto(-1)>back It is working fine. But I also Have a continue button which inserts data into db when clicked on it. So If i go back and click on continue new record is inserte for the same member i don't want that to happen. I want to maintain state persistence. how can I do this. Can Anybody help me Thanx in Advance Bhanu
-
I have a "Back" link in aspx page. If clicked on this link it go to previouspage. For this I wrote goto(-1)>back It is working fine. But I also Have a continue button which inserts data into db when clicked on it. So If i go back and click on continue new record is inserte for the same member i don't want that to happen. I want to maintain state persistence. how can I do this. Can Anybody help me Thanx in Advance Bhanu
Hi there the followeing code may help If not page.isPostBack() Then 'The code that u want to execute the first time u get in the page Else 'The code that u want to execute if u get back to the page End if I'm not sure if this would help but i hope so
Best Regards 3ala2 :)