That sounds good, thanks Harm.

For the regular controls, I'm sure your initial change was not a problem. For more complicated JavaScript-based custom controls, I haven't found a good alternative for using OnShow for initialization.

For example this could be a calendar control with a limited set of "contructor properties", but with an extensive method API. If I wanted to say, have it show next weeks calendar when the view is shown, I would have to do that in OnShow, because the client-side object needs to be rendered before I can call the (imaginary) "showNextWeek()" method.