How to display an alert from the asp.net mvc controller

0

How do I display a alert or a Response.Write of controller , on screen, to see if it is passing through it?

    
asked by anonymous 20.08.2015 / 16:25

1 answer

2

You can return an alert:

return JavaScript("<script>alert(\"método CarregarGrid()\")</script>");
    
20.08.2015 / 16:43