Click here to Skip to main content
15,559,167 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi all

I have this syntax error please could you provide the error. thanks in advance

----
The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.ScriptManagerNotFoundException: The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
Source Error:

[No relevant source lines]

Source File: c:\Users\UIS\AppData\Local\Temp\Temporary ASP.NET Files\nancy_int\26d25c6d\f7c3f36a\App_Web_0pqltktq.4.cs Line: 0
-----
Posted
Comments
Al Moje 19-Sep-12 1:19am    
Hi,
Drag the AJAX Extentions ScriptManager from ToolBox into the body of you form.

Hi,

You lack a ScriptManager script...

Try to insert this in client page:
<asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />


As shown below...


C#
<body>
    <form id="form1" runat="server">
    <asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />
    <%--...Some code here.... --%>
    </form>
</body>


Hope this could help...

Do not forget to vote if could help...

Regards,
Al
 
Share this answer
 
Comments
ahmad zrein 14-Nov-11 1:30am    
i add as told but give error asp:scriptmanager

it seems something is missing


<form id="formTransfer" runat="server">
<asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />
Al Moje 14-Nov-11 2:04am    
The example code when I upon posting added some unknown code.
Check it below example...
Maybe you are using some services like see example:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">
<services>
<asp:ServiceReference Path="~/LocalServices/ACLibrary.asmx" />

Member 8738850 16-Sep-12 14:53pm    
thanxxxxxx man...!!! it's works for me... :)
great! it works for me.thanks.
 
Share this answer
 

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