Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax partial view not updating parent div

$
0
0

Hey All. I have a problem with using an ajax button in a partial view to update a div in the parent view. If I put the same button into the parent page it works fine. Is this not possible or am I missing something? cheers for the help

Parent View:

<div id="topiclist"> @{Html.RenderPartial("DetailLoader", this.Model);} </div>

Partial View

@using(Ajax.BeginForm("LatestTopics","Forums",newAjaxOptions{UpdateTargetId="topiclist"})){
<input type="hidden" name="page" value="@ViewBag.page"/>
<input type="submit" id="refresh"class="latestbuttons" value="@(ViewBag.NewTopics) New Topics"/>}

Viewing all articles
Browse latest Browse all 5678

Trending Articles



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