I have a group of buttons at the moment which users can select to filter out a grid. The problem is that after one of the buttons is clicked, the user does not know the current active filter that was applied. So can anybody help me to figure out how to have these group of buttons act as toggle buttons (spec is to change the button background color for active button)?
Please note this is in MVC and there is an onclick event bound to each of the buttons which calls a javascript function.