Gladly And When in the KJV
3 verses of the King James Version have both "gladly" and "when".
Mark 6:20 For Herod feared John, knowing that he was a just man and an holy, and observed him; and when he heard him, he did many things, and heard him gladly.
Luke 8:40 And it came to pass, that, when Jesus was returned, the people gladly received him: for they were all waiting for him.
Acts 21:17 And when we were come to Jerusalem, the brethren received us gladly.