FIX RenderMode=Auto in Dock results in a JS error and incorrect behavior of the control
Setting the RenderMode=Auto to a Dock control results in a JS error on the client.
Expected is to choose the most appropriate render mode among the existing such.