Quantcast
Channel: Why are Redirect Results not allowed in Child Actions in Asp.net MVC 2 - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by gandil for Why are Redirect Results not allowed in Child Actions in Asp.net MVC 2

$
0
0

Sometimes this error occured when you try to render an action of base action result.Example:

ActionResult X    Return ViewView X    RenderAction YActionResult Y    // Bla bla       return View     // else       return RedirectToAction X

Viewing all articles
Browse latest Browse all 8

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>