I am designing a page which has some controls outside UpdatePanel and some inside updatePanel. Controls both outside and inside panel can trigger asynchronous update. When the page is partially updated by clicking controls inside panel UpdateProgress appears
BUT if I click on control which is outside updatePanel, content gets update but UpdateProgress is not displayed.
Any clues??
Here is the code..when I click MoreLinkButton, Updateprogress is displayed and content gets updated. When I click CommonSearchButton, content gets updated but Updateprogress is not displayed :(
hits
0 Points
1 Post
Update progress does not appear if control which triggers update is outside UpdatePanel
Dec 25, 2006 07:17 PM|LINK
I am designing a page which has some controls outside UpdatePanel and some inside updatePanel. Controls both outside and inside panel can trigger asynchronous update. When the page is partially updated by clicking controls inside panel UpdateProgress appears BUT if I click on control which is outside updatePanel, content gets update but UpdateProgress is not displayed.
Any clues??
Here is the code..when I click MoreLinkButton, Updateprogress is displayed and content gets updated. When I click CommonSearchButton, content gets updated but Updateprogress is not displayed :(
<asp:Panel ID="SearchPanel" DefaultButton="CommonSearchButton" runat="server" BackColor="Honeydew">
<div id="Search">
<table id="TABLE1">
<tr>
<td>
<asp:Button ID="CommonSearchButton" runat="server" Text="Search" CssClass="submit"
OnClick="SearchSubmit"/>
</td>
</tr>
</table>
</div>
</asp:Panel>
<br />
</div>
<div style="vertical-align: middle; text-align: center;">
<asp:UpdateProgress id="UpdateMessagesProgress" DynamicLayout="false" AssociatedUpdatePanelID="UpdateMessagePanel" runat="server" DisplayAfter="0">
<ProgressTemplate>
Loading...<img id="CategoryDropwodnUpdateProgressImg" src="Images/ajax-loader.gif" alt="" />
</ProgressTemplate>
</asp:UpdateProgress>
</div>
<asp:UpdatePanel id="UpdateMessagePanel" runat="server" UpdateMode="conditional">
<contenttemplate>
<table>
<tr>
<td style="text-align: right; direction: ltr;">
<asp:LinkButton ID="MoreLinkButton" runat="server" OnClick="GetMoreResults" Text="Next >>" Width="100px"></asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="2">
<uctl:MessageControl ID="MessageControl1" runat="server" />
</td>
</tr>
</table>
</contenttemplate>
<triggers>
<asp:AsyncPostBackTrigger ControlID="MoreLinkButton" EventName="Click"/>
<asp:AsyncPostBackTrigger ControlID="CommonSearchButton"/>
</triggers>
</asp:UpdatePanel>
updatepanel updateProgress Update Panel upadatepanel upadateprogess