Great article Prasanna - There's a few typos that are probably resopnsible for the errors folks are seeing on this thread:
When setting the visibility of the controls:
=Not(Parameter!IsValidNum.Value) should be =Not(Parameters!IsValidNum.Value) - note the missing 's'
=Parameter!IsValidNum.Value should be =Parameters!IsValidNum.Value - note the missing 's'