We always (sort of) go first by sharing our comp ranges to candidates. If either of us are way off why waste each other's time? We do ask for comp history. We try to be very fair and we rarely end up needing to negotiate at all.
I almost always reject companies out of hand that ask for comp history. It signals a desire to lowball the candidate and/or a company's lack of faith in their own ability to ascertain talent. Neither bode well for working there even if the request is later rescinded.
Asking for the candidate's expected compensation, OTOH, is fine, although a little tacky.