There are two ways,
1. You can store the search criteria of ccsearch.aspx into session when you are navigating to ccdetail page. And when you navigating back from ccdetail to ccsearch, on page load retrive the criteria from the session and bind the grid.
2. You can use
javascipt: history.back()
or
javascipt: history.go(-1)
on the back button of ccdetail.