Sounds fine to me. I usually just go up the hill in the gear I'm in until my cadence slows, then shift up one or two and out of saddle the rest of the way. Play around a bit, shifting up 1, 2, 3, not at all. Whatever works best for you is right for you.
I would suggest not climbing out of saddle on a very hilly ride though, it can tire your legs out pretty quickly. Shifting down and spinning saves a lot of energy.