Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi to all
in first of all my page is this code:
ASP.NET
<div align="center">
       <link href="cssUpdateProgress.css" rel="stylesheet" type="text/css" />

       <script type="text/javascript" language="javascript">
       var ModalProgress = '<%= ModalProgress.ClientID %>';

       </script>

       <div>

           <script type="text/javascript" src="jsUpdateProgress.js"></script>

           <asp:ScriptManager ID="ScriptManager1" runat="server">

           <asp:Panel ID="panelUpdateProgress" runat="server" CssClass="updateProgress">
               <asp:UpdateProgress ID="UpdateProg1" DisplayAfter="0" runat="server">
                   <progresstemplate>
                       <div style="removed: relative; removed 30%; text-align: center;">
                           <p>
                               <a style="font-family: Tahoma; font-size: 13px;">در حال عملیات</a></p>
                            <img src="images/loadinfo.net.gif" style="vertical-align: middle" alt="Processing" />
                           <p>
                               <a tyle="font-family:Tahoma;font-size:13px;">لطفا صبر کنید ...</a></p>
                       </div>
                   </progresstemplate>


           <ajaxToolkit:ModalPopupExtender ID="ModalProgress"  runat="server" TargetControlID="panelUpdateProgress"
               BackgroundCssClass="modalBackground" PopupControlID="panelUpdateProgress" />
       </div>
       <asp:UpdatePanel ID="UpdatePanel1" runat="server">
           <contenttemplate>
   <link href="css/grid.css" rel="stylesheet" type="text/css" />
   <%--<form id="form1" runat="server">--%>
   <div align="center"></div></contenttemplate></div>

and when we go to webpage below error occured:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

Source Error:

Line 28:             <script type="text/javascript" src="jsUpdateProgress.js"></script>
Line 29: 
Line 30:             <asp:ScriptManager ID="ScriptManager1" runat="server">
Line 31:             
Line 32:             <asp:Panel ID="panelUpdateProgress" runat="server" CssClass="updateProgress">
Posted

1 solution

i think the problem is you do not use content template for ex...

XML
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
          <asp:UpdateProgress ID="UpdateProgress1" runat="server">
         <%-- your control--%>
          </asp:UpdateProgress>
      </ContentTemplate>
      </asp:UpdatePanel>
 
Share this answer
 
Comments
sujit0761 30-Sep-11 0:19am    
I too agree on that..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900