He was censured by his colleagues in the House but given an “attaboy, Charlie!”
1909, probably from common pronunciation of "that's the boy!" a cheer of encouragement or approval.
An exclamation of approval or encouragement; way to go
[fr that's the boy]