You can try using the code how to access properties of other we part on the same page template as described in the documentation (scroll little bit down to "Accessing the properties of other web parts"). Or, as described in the article you linked - store the value as a flag in the request or in the session variables and do a postback to reload the page and when reloading, read this flag.