Try the following approach to accomplish this.
Call client method when clicking button and invoke method in main page. Check the help article for getting idea about how to call functions in windows.
Calling Functions in Windows
Now from the client function, invoke an ajaxRequest to server to update the control in main page.