You don't have a Page object like Web-Forms, but you can use the ViewBag property on the controller and write a script later to write to your views.
In your controller
ViewBag.coInit = "<script type="text/javascript">coInit(0, 'R');</script>"
In your view (if you are using MVC3, use Raw helper for wirte javascript without encoding.)
@Html.Raw(ViewBag.coInit)
source share