Click here to Skip to main content
11,481,838 members (63,658 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 13-Nov-11 16:44pm
Comments
Al Moje at 19-Sep-12 1:19am
   
Hi,
Drag the AJAX Extentions ScriptManager from ToolBox into the body of you form.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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...


<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
  Permalink  
Comments
ahmad zrein at 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 at 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">

<asp:ServiceReference Path="~/LocalServices/ACLibrary.asmx" />

Member 8738850 at 16-Sep-12 14:53pm
   
thanxxxxxx man...!!! it's works for me... :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

[]
  Permalink  
Comments
yanan Ramirez at 12-Jan-15 11:17am
   
HI Friend , REALLY AWESOME!, thank you!

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



Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 8 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100