Controller 如何向view注册js?
比如添加新闻的信息时候 弹出对话框 提交成功 或失败
就是类似以前的
ClientScriptManager cs = page.ClientScript;
Type cstype = page.GetType();
if (!cs.IsClientScriptBlockRegistered(cstype, cskey))
{
cs.RegisterClientScriptBlock(cstype, cskey, sb.ToString(), true);
}
绝地无双
Smart猫小萌