Master Detail Refresh

Is there a way to refresh the entire master form after clicking an actionbar ajax button in a grid thats in the details.