how to upate many partialview at the same time?

May 25, 2011 at 6:23 AM

index.cshtml:

 @Ajax.ActionLink(@item.SchemeName, "UpdateTree", new { id = @item.SchemeName }, new AjaxOptions {HttpMethod = "Post", UpdateTargetId = "scheme-tree-bar" })

<div id = "scheme-tree-bar">
    @{
        var s = Model.Count() > 0 ? Model.First().SchemeName : "";
        @Html.Partial("_SchemeTree", s);

        @Html.Partial("_SchemePara", s);   

}
</div>

controller.cs

public PartialViewResult UpdateTree(string id)
        {

            return PartialView("_SchemeTree", id);
        }

use the  @Ajax.ActionLink(),  i can only refresh the SchemeTree view ,how to refresh SchemePara at the same time?

thanks!!!