FineUI.PageContext.RegisterStartupScript It works.
Because of the space usage in fineui, a part of dopostBock was rewritten. RegisterStartupScript and related methods are not available anymore.
Solution:
FineUI.PageContext.RegisterStartupScript(“alert(1);”);