I have an error "Script controls may not be registered before PreRender.", I have tried scriptmanager and also used code EnsureChildControls(); before and after base.OnInit(e); alternative. but Error is still continue. I have tried this code in prerender load,init.
But i am still getting above error.