yeah its probably due to his synthetic pants!
But yes, if you get hold of the door on the metal when you open it and then get out it should discharge the electricity. I get them off light switches as well, bloody annoying, but funny when you zap someone else!