


Dear Users,
My Requirement :
I am coming to my Index Page-->
Main Search Page-->
Putting Search criteria-->
Click on Search Button-->
Data comes..
My Problem :
I clicks Back button-->
Index Page-->
Again comes to Main Search Page-->
Now the previously searched data is remaining there!
My Solution :
When comes to the Main Search Page,
1. Take the URL like window.location.href to a global variable
2. Use Search method to check whether our Search Page's name is there in the URL
3. If not, don't do anything special,
if it is there, reset the Search Criteria fields and then internally call the Search Action
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.