开发者

ASP .net MVC - Alert using Javascript

I am new to MVC. I was using javascript alert in previous applicati开发者_如何学运维on from coding. How to give an alert from Controller?


In general, you could just have your controller set a boolean flag in ViewData and have your view render a script tag with the alert statement if that boolean flag is true.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜