UpdatePanel not behaving as expected



I can't get an UpdatePanel on my page to work. One control - an
ImageButton in a GridView - works the first time you click on it, but
then freezes all of the controls on the form. The paging controls of
the GridView refresh the entire page, as if the UpdatePanel wasn't
there. There is an outside control - a dropdownlist - which is set to
trigger the updatepanel, and also refreshes the entire page. Below
are some snippets from the code. Any ideas?

<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server" />
<asp:DropDownList ID="ChildSites" runat="server" AutoPostBack="True"
<asp:UpdatePanel ID="MainUpdatePanel" runat="server"
updatemode="Conditional" childrenastriggers="true">
<asp:AsyncPostBackTrigger ControlID="ChildSites" />
<div >
<div> Total<img src="star_active.png" alt="Approved" />s: <asp:Label
ID="TotalStarsLabel" runat="server" /></div>
<asp:GridView ID="AnnouncementsGrid" runat="server"
enablepaging="true" PageSize="10"
<asp:ImageButton ID="ApprovalStatusImage" runat="server"
ImageUrl="star_inactive.png" OnClick="ApprovalStatus_Clicked" />

bruce barker

you have a ScriptManagerProxy, but did you define a ScriptManger on the
page (or master)?

-- bruce (sqlwork.com)


Yes, the ScriptManager is defined on the Master page. I've tried
leaving off the ScriptManagerProxy and just using the Master page's
ScriptManager, same problem.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question