"That's a great place to place your empty glass! Good boy! Do you know where would be an even better place to set it down? Somewhere that isn't the edge of the bed..."
It's important to use lots of positive reinforcement when raising an autistic child.