adding su pport for OnCreatingView with partial views.