Many people give to events, so when asked to donate, they will neither be surprised nor annoyed, especially when they know the person asking.
Understand that most people you ask have supported their friends and will likely give to you as well. Don’t be nervous to ask.