I have formatted my pc and installed VS2008 on it and tried to run the same thing but the error is also the same. Now this is clear that there is some problem with my installation... I hav tried the same thing on two different pcs. I describe the steps
followed :
1. Downloaded the Ajaxtool kit binary 3.5
2. Extracted it.
3. Opened a new website in the VS2008 and added a new Tab and to add the toolkit I showed and applied the Ajaxcontroltoolkit.dll. NOw all the controls installed.
--------------
To test -- followed the example on Ajax Tutorial
1. Created a new website.
2. Placed Ajax Script Manager on Form
3. Added a new textbox called txtmovie
4. Placed
<asp:AutoCompleteExtender
ID="AutoCompleteExtender1"
TargetControlID="txtMovie"
runat="server"/>
<div>AFter that on textbox trying to ADD AUTO COMPLETE TEXT MEHOD... it is throwing the same error as mentioned earlier.</div> <div></div> <div>So finally I think that problem is with my installation...
becoz same problem happened on two different pcs. </div> <div></div> <div>Pl. guide. </div> <div></div>
On Run of the Code following exception is thrown :---
Server Error in '/WebSite1' Application.
Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
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: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:276
System.Web.UI.ScriptManager.RegisterScripts() +261
System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +117
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2063008
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2247
Neeraj Bhush...
Member
106 Points
91 Posts
Re: asp ajax error
Mar 04, 2012 02:44 PM|LINK
Sir,
I hav got the files. But sorry to say even after that the result or error is same as before.
Thanks
Song-Tian - ...
All-Star
43715 Points
4304 Posts
Microsoft
Re: asp ajax error
Mar 05, 2012 06:49 AM|LINK
Hi,
Please change a PC, and have a try. There should be no problem.
Feedback to us
Develop and promote your apps in Windows Store
Neeraj Bhush...
Member
106 Points
91 Posts
Re: asp ajax error
Apr 16, 2012 09:59 AM|LINK
Sir,
I have formatted my pc and installed VS2008 on it and tried to run the same thing but the error is also the same. Now this is clear that there is some problem with my installation... I hav tried the same thing on two different pcs. I describe the steps followed :
1. Downloaded the Ajaxtool kit binary 3.5
2. Extracted it.
3. Opened a new website in the VS2008 and added a new Tab and to add the toolkit I showed and applied the Ajaxcontroltoolkit.dll. NOw all the controls installed.
--------------
To test -- followed the example on Ajax Tutorial
1. Created a new website.
2. Placed Ajax Script Manager on Form
3. Added a new textbox called txtmovie
4. Placed
- <asp:AutoCompleteExtender
- ID="AutoCompleteExtender1"
- TargetControlID="txtMovie"
- runat="server"
/>
<div>AFter that on textbox trying to ADD AUTO COMPLETE TEXT MEHOD... it is throwing the same error as mentioned earlier.</div> <div></div> <div>So finally I think that problem is with my installation... becoz same problem happened on two different pcs. </div> <div></div> <div>Pl. guide. </div> <div></div>Neeraj Bhush...
Member
106 Points
91 Posts
Re: asp ajax error
Apr 16, 2012 01:21 PM|LINK
I tried an another Ajax tool.. Bellow is the source...... source -- http://www.asp.net/ajaxlibrary/act_animation_yellowfade.ashx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> <style type="text/css"> #Message { width: 250px; padding: 10px; margin-bottom:10px; } </style> </head> <body> <form id="form1" runat="server"> <div style="height: 180px"> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> <asp:Panel ID="message" runat="server" Width="129px"> Pay Attention To Me </asp:Panel> <asp:LinkButton ID="lnkYellowFade" OnClientClick="return false;" runat="server">Play Animation</asp:LinkButton> <asp:AnimationExtender ID="AnimationExtender1" TargetControlID="lnkYellowFade" runat="server"> <Animations> <OnClick> <Sequence> <Color AnimationTarget="Message" Duration="2" Property="style" PropertyKey="backgroundColor" StartValue="#FFFF66" EndValue="#FFFFFF" /> </Sequence> </OnClick> </Animations> </asp:AnimationExtender> </div> </form> </body> </html>On Run of the Code following exception is thrown :---
Server Error in '/WebSite1' Application.
Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
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: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
Stack Trace:
PPl. guide what and where is the problem
Neeraj Bhush...
Member
106 Points
91 Posts
Re: asp ajax error
Apr 17, 2012 02:01 AM|LINK
Pl. help