How do you return a partial view with spark?

Posted by runxc1 Bret Ferrier on Stack Overflow See other posts from Stack Overflow or by runxc1 Bret Ferrier
Published on 2010-03-20T17:57:38Z Indexed on 2010/03/20 18:01 UTC
Read the original article Hit count: 437

Filed under:
|
|

I am using the SparkViewEngine and I am calling an action that I want to return a Partial View to update just a section of the page. When I return the view on the action the masterpage and all of its content gets returned. How do you tell a partial in spark to just return the content of the partial view and not put the content inside the application.spark file??

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about spark-view-engine