Thanks Chris! Yeah, I've figured that out and come a looong way with .net since this post. Thanks for the reply though...
Since I have you here though I do have one issue that I know I will have to deal with down the road at some point. Is there a straight forward way to trigger an UpdateProgress panel in which the trigger button exists outside of the update panel are it should trigger?
Ex:
Code:
<span class="item-page-thumb-bg"><span class="thumb-area">
<asp:ImageButton ID="altImage1" runat="server" BackColor="White" CssClass="img_thumb" BorderWidth="0" width="74" Height="74" CausesValidation="false" onclick="altImage1_Click" />
<asp:ImageButton ID="altImage2" runat="server" BackColor="White" CssClass="img_thumb" BorderWidth="0" width="74" Height="74" CausesValidation="false" onclick="altImage2_Click" />
<asp:ImageButton ID="altImage3" runat="server" BackColor="White" CssClass="img_thumb" BorderWidth="0" width="74" Height="74" CausesValidation="false" onclick="altImage3_Click" />
</span></span>
<asp:UpdatePanel ID="productImage" runat="server" UpdateMode=Conditional>
<ContentTemplate>
<span class="big-watch-packets-display-area">
<div class="productImageProgress">
<asp:UpdateProgress ID="productImageProgress" runat="server" AssociatedUpdatePanelID="productImage" DisplayAfter="10" Visible=true DynamicLayout="true">
<ProgressTemplate>
<span class="big-watch-packets-display-area-load">
<img border="0" src="http://www.webmaster-talk.com/images/loading.gif" />
</span>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
<img id="imgMain" runat="server" alt="" border="0" usemap="" />
</span>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="altImage1" />
<asp:AsyncPostBackTrigger ControlID="altImage2" />
<asp:AsyncPostBackTrigger ControlID="altImage3" />
</Triggers>
</asp:UpdatePanel>
I found a site that discussed how to do it using javascript but I failed at my attempt to pull it off. Have you had to deal with anything like this before? My solution for now was to just move the ImgButtons inside of the updatepanel which worked just fine. I know I will need this functionality for other portions of the site in the future though...Thanks for any help!
Last edited by Jasonpv; 10-21-2010 at 07:47 PM..
|