Modal PopUp Extender labels wont update on Asynchronous Postback

Posted by newbie2k on Stack Overflow See other posts from Stack Overflow or by newbie2k
Published on 2010-04-23T12:32:12Z Indexed on 2010/04/23 12:33 UTC
Read the original article Hit count: 275

Filed under:
|
|
|
|

Hi everyone!

I have a ModalPopUpExtender with an UpdatePanel on it. On the UpdatePanel,there few labels and componentart Grid which Updates from the server on every Asynchronous postback when an image button is clicked. The Problem is that the server code updates the modalpopupextender labels as the information on the grid but it wont display the Updated version of it on the modal Popup Extender. Need some Help... Heres the sample code:

    Name:     Loyalty Mode:     Expire Mode:    

LoadingPanelClientTemplateId="LoadingFeedbackTemplate3" LoadingPanelPosition="MiddleCenter" LoadingPanelFadeDuration="1000" LoadingPanelFadeMaximumOpacity="60" OnNeedDataSource="LItemGrid_NeedDataSource" OnNeedRebind="LItemGrid_NeedRebind" OnPageIndexChanged="LItemGrid_PageIndexChanged" OnFilterCommand="LItemGrid_FilterCommand" OnSortCommand="LItemGrid_SortCommand" ShowFooter="true" PageSize="10" PagerStyle="Numbered" >

                                        </Columns>
                                    </ComponentArt:GridLevel>
                                </Levels>

                               <ClientTemplates><ComponentArt:ClientTemplate Id="ClientTemplate2">
      <table width="200" ><tr><td valign="center" align="center">
      <table cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td style="font-size:10px;font-family:Verdana;">Loading...&nbsp;</td>
        <td><img src="images/spinner.gif" width="16" height="16" border="0"></td>
      </tr>
      </table>
      </td></tr></table> </ComponentArt:ClientTemplate> </ClientTemplates> 
                            </ComponentArt:Grid></ContentTemplate>
    <asp:Button ID="btnClose" runat="server" Text="Close" />
</asp:Panel>
     <asp:ModalPopupExtender TargetControlID="SaveImageButton1" ID="pnlModal_ModalPopupExtender"
    runat="server" DynamicServicePath="" Enabled="True" BackgroundCssClass="modalBackground"
    PopupControlID="pnlModal" CancelControlID="btnClose" DropShadow="true">
</asp:ModalPopupExtender>
 </ContentTemplate>
</asp:UpdatePanel>

© Stack Overflow or respective owner

Related posts about update

Related posts about panel