Adding a no follow on the link would stop the crawlers actually. Your current approach with return false and a no follow is the approach I most commonly use. The full result looking like:
<a href="#" onclick="DoSomeStuff();return false;" rel="nofollow">