Oh I think Trump totally expected it and used it to his advantage.
They probably saw it coming, because they probably got reports of the moveon.org petitions that were circling for days.
But I doubt they foresaw it when they planned the event.