We only have occasional bedtime woes, but here's what works most of the time. He'll refuse to get in bed, so I'll put him in the bed. He starts trying to climb out, so I calmly grab his binky and lovey and place them on his dresser where he can see them. Then I walk out of the room. He starts yelling for his binky and lovey and forgets all about wanting to get out of the bed! So I just come back in, give them to him, kiss him, say goodnight I love you, and leave.
I'm not sure why this works. I think it's a combination of changing the subject of the argument so he gets to win, or maybe it's changing from bed/no bed to bed with lovey or bed without.