Keep in mind when doing this technique that it is impossible to ride off the saddle for an entire climb. At a certain point, the legs will lose the ability to propel this way, especially as the grade gets steeper and the climb gets longer. The legs will eventually need to recharge and to flush the lactic acid that they have been accumulating. That is where the high spinning technique comes into play.
Spinning On The Bike: Two time Tour De France champion Chris Froome has used the high spin, high cadence climb to an art form. His ability to sprint from 90 to over 100rpm on very steep gradients of a given climb have gone unmatched and unrivaled by no other in the sport. The only rider in the past few years who can trade blows with him on the mountains is Nairo Quintana, the light framed climber from Colombia. Chris Froome's climb is his signature trademark. He never lets his cadence drop below 90rpm while he is climbing, no matter how steep the grade. He makes full use of the lower range of his gearing, in order to keep spinning no matter what. His climbing style is reminiscent to that of Miguel Indurain, as it is mostly on the saddle as opposed to off the saddle. He doesn't freak out when his opponents attack him, rather he raises his cadence and closes the gap quickly. In addition, Chris Froome uses a power meter, so he knows when he is reaching his red line and hardly ever pedals beyond his power wattage threshold. He is exacting and calculating in the way he rides, which has become a point of contention with some cycling fans which want to see more spontaneity in cycling. Nevertheless it's a style he has been proven to be very effective for him, regardless of his critics.
The key to successful climbing is knowing when to use each of these techniques. It helps to know the climb and ride it beforehand. If it is a climb featured on one of your regular club rides, then you will have the upper hand on your friends if you can practice on it regularly. Some climbs are gradual ascents that get steeper towards the crest of the hill. Other climbs are broken up into sections where the climb will level off and then pitch up again. Other climbs are monsters that go continually upward without letup while the road winds up the mountain. If you have those kind of climbs in your area then consider yourself lucky; you have what you need to become a very good climber.
For rolling terrain I recommend an off the saddle, on the saddle approach. For sustained gradients it is best to stay on the saddle and only come off the saddle towards the crest of the climb. For climbs with switchbacks I recommend riding the switchbacks off the saddle towards the outside of the turn. Never attack on the climb early. Your speed should gradually increase as you ascend on the climb. Save your energy for the steepest sections. Climb at your rhythm, even if that means getting dropped the first few times. Stick to your game plan, refine it as you see necessary, but don't chase the wheel of a guy who attacks early. You can pace yourself back but you will end up blowing up if you give chase. Those are my tips on how to be a better climber.