Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Wednesday, March 28, 2012

ASP.Net AJAX messing up my code and not known element???

I am trying to add AJAX Version 1.0 to an existing site and I believe I have added everything needed to the web.config file. Installed the AJAX Extensions in the GAC and added the AJAX Toolkit to the VS 2005 Toolbox.

When I drag AJAX items into my aspx pages I get red Squiggly Lines on the ScriptManager and UpdatePanel.

I just added a RequiredFieldValidator and it tells me that it is also not a known element.

Also I have noticed some strange new attributes in my html e..g.__designer:wfdid="w2"

What is going on, could somebody help me out, thanks, newbie

I forgot to mention that I am using Master and Content pages. When I add the AJAX Extensions such as ScriptManager to the Master page I have no red squiggly lines. I guess I have to add <form> tags to my content pages to make this all work.

Not true, I tried it and the red squiggle lines are gone but the page does not show up correctly. Basically the content page portion does not get displayed . So adding the <form> tag to the content page is not the solution.

What am I doint wrong?? Newbie


Fixed - here is a helpful article.

http://ajax.asp.net/docs/tutorials/UsingUpdatePanelMasterPages.aspx

ASP.NET AJAX for Web Application Project (WAP)

Has anyone successfully use the new AJAX controls in a WAP?

I'm getting this error when I try to use the web.config from an ASP.NET AJAX Web Site in a Web Application Project.

Error 8 The type 'Microsoft.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Try to download Ajax Beta 2 and Futures Nov CTP from this website - http://ajax.asp.net/docs/Default.aspx
Try to download Ajax Beta 2 and Futures Nov CTP from this website - http://ajax.asp.net/docs/Default.aspx
Try to download Ajax Control Toolkit from this website - http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx
Try to read Ajax materials document from here -
After you install Ajax Beta 2 and Futures Nov CTP in your PC,try to create a new Ajax Enabled website and a Ajax CTP Enabled website and check if it works.
Besides,try to check your web.config according to the following web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
<sectionGroup name="scripting" type="Microsoft.Web.Configuration.ScriptingSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="webServices" type="Microsoft.Web.Configuration.ScriptingWebServicesSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="Microsoft.Web.Configuration.ScriptingJsonSerializationSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
<section name="profileService" type="Microsoft.Web.Configuration.ScriptingProfileServiceSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
<section name="authenticationService" type="Microsoft.Web.Configuration.ScriptingAuthenticationServiceSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
<tagMapping>
<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="Microsoft.Web.UI.Compatibility.CompareValidator, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagType="System.Web.UI.WebControls.CustomValidator" mappedTagType="Microsoft.Web.UI.Compatibility.CustomValidator, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagType="System.Web.UI.WebControls.RangeValidator" mappedTagType="Microsoft.Web.UI.Compatibility.RangeValidator, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagType="System.Web.UI.WebControls.RegularExpressionValidator" mappedTagType="Microsoft.Web.UI.Compatibility.RegularExpressionValidator, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagType="System.Web.UI.WebControls.RequiredFieldValidator" mappedTagType="Microsoft.Web.UI.Compatibility.RequiredFieldValidator, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagType="System.Web.UI.WebControls.ValidationSummary" mappedTagType="Microsoft.Web.UI.Compatibility.ValidationSummary, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</tagMapping>
</pages>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/>
</httpHandlers>
<httpModules>
<add name="WebResourceCompression" type="Microsoft.Web.Handlers.WebResourceCompressionModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-ISAPI-2.0"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler"/>
</handlers>
</system.webServer>
</configuration>
Wish the above can help you.

Hi JC,

Had the same error and found that it was because I had not replaced the AjaxControlToolkit.dll in my application with the new one in the SampleWebsite/bin folder when I updated my AJAX version from beta to AJAX 1.0 RC. Recommend you try this.

Kind regards,

Mick

ASP.NET AJAX Extensions vs. Professional AJAX

Hi,

I'm curious as to why Web Services and SOAP were chosen as the transport mechanisms for the ASP.NET AJAX Extensions instead of Attributes and JSON.

In Professional AJAX, you add a few lines to your web.config, apply the AjaxPro.AjaxMethod attribute to the class method you want to call from javascript, and register the class in the code behind page usingAjaxPro.Utility.RegisterTypeForAjax(). Do the ASP.NET AJAX Extensions have something similar to this?

Also,if I build equivalent codein two ASP.NET apps, one using Professional AJAX and one using the ASP.NET AJAX Extensions, the ASP.NET app using Professional AJAX, which uses JSON, sends far fewer KB back and forth.

Professional AJAX:http://www.codeplex.com/AjaxPro

thanks,

Tom

tcboring@.work:

Hi,

I'm curious as to why Web Services and SOAP were chosen as the transport mechanisms for the ASP.NET AJAX Extensions instead of Attributes and JSON.

Why do you say this? By default, Web Services used by the ASP.NET Ajax frameworkdo use JSON for data transfer.

http://msdn.microsoft.com/msdnmag/issues/07/01/ExtremeASPNET/default.aspx
http://msdn.microsoft.com/msdnmag/issues/07/02/CuttingEdge/default.aspx


tcboring@.work:

In Professional AJAX, you add a few lines to your web.config, apply the AjaxPro.AjaxMethod attribute to the class method you want to call from javascript, and register the class in the code behind page usingAjaxPro.Utility.RegisterTypeForAjax(). Do the ASP.NET AJAX Extensions have something similar to this?

The way Professional AJAX works is very similar to ASP.NET AJAX page methods.


Mike,

Thanks for the links--I just finished reading the material they point at. I honestly had no idea that JSON was used, because when I look at the HTTP traffic (using Fiddler) generated while using the ASP.NET AJAX Extensions (AAE) it all looks like good old XML to me--besides the HTML rendered by my aspx pages. I've just downloaded the latest version of AAE, and I'll take a look again--the last time I played with AAE was back in March when I decided to use the Professional AJAX library instead.

thanks,

Tom


gt1329a:

tcboring@.work:

In Professional AJAX, you add a few lines to your web.config, apply the AjaxPro.AjaxMethod attribute to the class method you want to call from javascript, and register the class in the code behind page usingAjaxPro.Utility.RegisterTypeForAjax(). Do the ASP.NET AJAX Extensions have something similar to this?

The way Professional AJAX works is very similar to ASP.NET AJAX page methods.

Got any links to back that up?


Just my opinion, having watched both of their request/response behaviors in FireBug.

Here's an example of a page method in action: http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/

Certainly no SOAP there.


gt1329a:

Just my opinion, having watched both of their request/response behaviors in FireBug.

Here's an example of a page method in action: http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/

Certainly no SOAP there.

Okay, that's what I was missing--I didn't come across Page Methods. Like you noted in your article, the amount of extra information that's added to the data you really want is silly. It's exactly why I chose Professional AJAX.NET over Microsoft's framework.

Still though, the style of solution that Professional AJAX.NET gives just feels more...streamlined.


The counterpoint to something like AJAX Pro is what would you do if you needed to create an AJAX-ified GridView using it? With ASP.NET AJAX, you have the flexibility to use light weight techniques when appropriate, but still fall back to partial postbacks when they are necessary.

gt1329a:

The counterpoint to something like AJAX Pro is what would you do if you needed to create an AJAX-ified GridView using it? With ASP.NET AJAX, you have the flexibility to use light weight techniques when appropriate, but still fall back to partial postbacks when they are necessary.

Yeah, that's the main weakness of AJAX.NET Pro right now: you can only work with HTML controls. Now that i know about page methods, I'm going to give the AAE another chance.


I tried both solutions and somehow I can't run AJAX Pro (namespace not defined error) and Extensions don't allow me to execute non static method.


If you can't get it done in a static method, you can always turn to a full web service call.

Asp.Net Ajax Enabled Web Site running very slow

I have developed my web application on ASP.NET 2.0 AJAX Extensions 1.0 . But it is running very slow.Please help me how to improve perfomance of asp.net ajax extension web site.

The most common cause for this would be that you're making too many requests to the server... i.e. you're doing lots of AJAX requests in the background and they're updating too much at once.

The performance difference between an ordinary page, for example a search box that then displays search results, should be negligable between AJAX and post-back versions - so you can't always blame the AJAX for any speed issue.

An example of AJAX slowing things down would be if you have a page with 100 Labels and each time you made an AJAX request, it had to update them all (even though only one had changed) - it would be the equivalent of building the whole page again as opposed to making an AJAX request to change just one bit of the page.

Hope this helps.

ASP.Net AJAX Enabled Web Application template missing

I have installed ASP.NET2.0 AJAX Extensions 1.0 but I cannot find a template for the above when I try to create a new project and I believe there is one available from another post? If I try a new website, I get the AJAX enabled web site template, but what I really need is the web application template.

Anyone have any ideas as to why it is not appearing? Or what settings do I need to migrate from a ajax enabled website to a web application project to enable ajax?

Thanks in advance

Hi,

Thank you for your post!

As far as I know, there is none web application project template and AJAX web application project template in Visual Studio 2005/2008.

And we can take a website as a web application project.

If you really need a solution for a web site, you can add an empty solution, then add website to it,and other related project(e.g. class library project).

If you have further questions, let me know.

Best Regards,

Asp.net Ajax Enabled web app creating more ScriptResource.axd on a Simple page

Hello,

I am using Asp.net Ajax extension 1.0.In my application ,I am using a index.aspx page,which have no script manager control.When i am runing this application the the index page is loading very slow.When I save the page from browser I am finding six ScriptResource.axd files are loading on client side.Which have up to 400 kb.So I want to reduce these files on index page.But I do not know how I do it.Please help me.

Regards,

Pawan

Hi Pawan,

Basically, those scripts won't be requested if there is no AJAX related controls on the form.
If you are using MasterPage and there is ScriptManager on it, they will be downloaded too.

Hope this helps.

Hello Raymond Wen,

Thanks for reply.

I am using asp.net ajax enable website1.0.I have noticed that ScriptResource.axd is uploaded each time when I am navigate the site.On each page ScriptResource.axd is again loading.I want to cache ScriptResource.axd on Client Side.If you have any idea about it then please help me. Thanks & Regards, Pawan


Please try the following:

1. Set debug to false in web.config

2. Set ScriptMode property of the ScriptManager to release


These should be cached on the client as long as you have <Compilation Debug="false" /> in your web.config.

ASP.NET AJAX enabled page loses its AJAX behavior when an IFrame is placed inside of an Up

Hello everyone,

I have a strange issue on one of my web pages in our ASP.NET AJAX-enabled Website. We have an ASP.NET 2.0 Website and we wanted to ajaxify it just by making good use of the UpdatePanel control on all the pages of website to remove the postbacks and make the pages more responsive to the user. One of the pages has a couple of IFrames on it and when we tried to place all the content on the page inside of an UpdatePanel, we have noticed that the browser itself crashes upon the selectedIndexChange event of a DropDownList on the same page. The IFrames are hidden by default and are made visible only upon the click event of a button.

When I wanted to find out the reason behind all this by replicating or simulating the same aforementioned behavior on a sample page, I have noiticed this *** behavior that if an IFrame is placed inside of an UpdatePanel along with other html elements, the page loses its AJAX behavior and makes a postback for the click event of a button placed inside of the same UpadetPanel as the IFrame.

Here's the source code for that...

<form id="frmAJAX7" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="TRUE">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table>
<tr>
<td>
<asp:Label ID="lblName" runat="server">Enter Your Name: </asp:Label>
</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnClick" runat="server" OnClick="btnClick_Click" Text="Click me!" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="lbl" runat="server"></asp:Label>
</td>
</tr>
</table>
<iframe id="iframe1" frameborder="1" src="http://pics.10026.com/?src=http://www.msdn.microsoft.com"></iframe>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form
If the IFrame named iframe1 is placed outside of the UpdatePanel, the page works fine and exhibits the normal AJAX behavior. Is there any kind any of conflict between the ASP.NET AJAX extensions and the IFrame element?

Please let me know if any one out there has any idea about this since I am not a seasoned developer yet in ASP.NET AJAX. And any help regarding this would be appreciated as this is quite an urgent requirement.

Thanks in advance...

Well...it seems to be working fine for me.
I belive you are getting confused coz the page inside the IFrame which happens to behttp://www.msdn.microsoft.com in the example above is reloading itself on button click. The purpose of Ajax is (or to be more specific, you can say UpdatePanel in your case) instead of causing entire page to postback it would just refresh the part of the page which is inside update panel. Notice the Label and and text box in which you enter your name they dont get reloaded when they are inside the update panelon button click. Try putting everything out of updatepanel and then check the behaviour of TextBox and Label. I am sure you would notice the difference.

I also tried keeping a drop down list control inside and outside the update panel, still working fine for me.

Well, instead of keping the Src of IFramehttp://www.msdn.microsoft.com try to keep the Src of IFrame some other webpage in your project(preferebly with one or two textbox and buttons) and if you still dont notice the difference then also try to keep the controls of source page under updatepanel:)

Hope this helps:)

Cheers
Ritesh


Thanks for the reply, Ritesh.

I have mentioned the src attribute to a different page, part of the same project. I replaced the value of the src attribute to http://msdn.microsoft.com just for the posting purposes. The source page has UpdatePanel with a few other controls wrapped inside of it. I still get the same issue.

Here's the source code for the source page of the IFrame...

<form id="frmAJAX2" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Panel Created"></asp:Label>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Click me!" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form
I don't really want the UpdatPanel to refresh or reload the source page of the IFrame and even if it does, the request should be a asynchronous postback, which is not the one happening in my case. I see a clear postback in the example that I have mentioned.

Hope I was clear enough...


Hey....i thought you were seeing main page getting refreshed. Now...If I understand you correctly then you dont want the SOURCE page inside the IFrame to get refreshed... Well as I said in my last post Ajax would not postback the entire page but the controls inside the update panel would get refreshed to fetch the data from the server.

If you dont want to see any refreshing in the source page then you need to create page which would work something like this onehttp://www.jamesdam.com/ajax_login/login.html. Hit F5 and try to refresh this page and see the difference. Also keep this page under the source of IFrame. You can refer to the sample code provided at the botton of that page.

Cheers
Ritesh

ASP.Net Ajax elements not being recognized

I've just installed ASP.Net Ajax beta 2 and added its references to web.config, but my project still gives me some errors (my project was originally created using ASP.Net Ajax beta 1 template).

Here they are:

Warning 1 The 'requirePermission' attribute is not declared. c:\Inetpub\wwwroot\n2_lc1\Web.config 7 206 c:\...\n2_lc1\
Warning 2 The 'requirePermission' attribute is not declared. c:\Inetpub\wwwroot\n2_lc1\Web.config 8 200 c:\...\n2_lc1\
Warning 3 The 'requirePermission' attribute is not declared. c:\Inetpub\wwwroot\n2_lc1\Web.config 9 214 c:\...\n2_lc1\
Error 28 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. c:\Inetpub\wwwroot\n2_lc1\processo\acompanhamento_corrida.aspx 32 7 c:\...\n2_lc1\

What can I do?

When I create a new project it works. With existing projects it doesn't work.

Try to take a look at this reading when upgrading to Ajax Beta 2 -
????http://66.102.7.104/search?q=cache:6kV1ivEIoIYJ:ajax.asp.net/files/Migration%2520Guide.doc+Upgrade+Ajax+Migration&hl=en&ct=clnk&cd=1
????http://ajax.asp.net/files/AspNet_AJAX_CTP_to_Beta_Whitepaper.aspx
Wish the above can give you some helps.

Jasson, thanks for your reply, but the problem isn't migrating an Atlas to Ajax code. The problem I have is about the prefix ASP for Ajax controls that Visual Studio Intellisense is not recognizing.

Visual Studio marks the Ajax elements as unknown. Their elements only work if I change Ajax prefix to another one (different from ASP).


Sorry for not giving you an immediate reply.For your questions, try to follow up the following suggestions.

Do you have the following code line when you want to access Ajax control toolkit? This is necessary to refer to Ajax control toolkit in your website project. If not,try to add it

ASP.NET Ajax doesnt work after 7/10/2007 windows updates

I have customers that have reported this morning that our web application that uses asp.net ajax is not longer working correctly after they installed the windows updates last night (7/10/2007). The problems that we are seeing is a page that has a gridview inside of an update panel displays some of the markup of the page. When they click the button that should trigger the update panel, the page does a full postback instead of a partial. The Update Progress doesn't show like it should either. After the postback, it may or may not show the page correctly, but none of the buttons work anymore. We found that this is only a problem with IIS 6.

If anyone knows what update may cause this so we can uninstall that update to get our customers site back up and running please let me know. I searched the forum, but couldn't find any similar problems. Are there others that are seeing similar problems with the windows updates?

Hi buckeyes,

Has your problem been resolved yet? If yes, Sharing your work will be greatly appreciated.


We haven't found a solution yet other than rolling back the updates.


Hi buckeyes,

buckeyes:

We haven't found a solution yet other than rolling back the updates.

Would you please tell us which update causes the issue and your system environments? We will check it and thanks for your feedback.


Sorry that I haven't gotten back to you on this. We had a member of the IIS team looking into this as well and so we were waiting for their reply. Anyway they were able to point us in the right direction. The problem was caused by some of our JavaScript after the install of KB928365. We were referring to controls like:

document.getElementById('ct100_MyTextBox')

We changed that to

document.getElementById('<%=MyTextBox.ClientID%>')

That has fixed our problems.

ASP.NET AJAX deployment problems.....

Hi guys,


I've just added ASP.NET AJAX to my web site and when I run it under VS 2005 everything works fine. However, when I try and run it on my dev machine using IIS (I'm using XP and IIS 5) the AJAX stuff doesn't work.


So, I tried deploying it to my production web server (Windows Server 2003 and IIS 6 with AJAX extensions installed and verified by checking GAC) it still doesn't work!


Can anyone tell me what I'm missing? What's different between the VS web server and IIS??


TIA

Jon

Hi Jon,

Check your Web.config file with newly created ajax enable website

Swati


Hi Jon,

Check your Web.config file with Web.config of newly created ajax enable website

Swati


Hi Swati,

I've done this and everything that needs to be in the web.config is there. As I said it works under VS2005 just not when deployed.

Jon


hi jon,

i am having the same problem. were you able to find the solution. if yes then can u please guide me on that

jitendra


No luck yet. If you figure it out please post the solution.

Thanks

Jon


Hi Jon,

The most significant difference between them is they are running with different windows account.
VS web server is running with the account you logged in windows which is usually an administrator. When working with IIS, it's running with Asp.net(IIS 5) or Network Service(IIS 6).
So your issue is very likely to be caused by privilege, please review the log of the IIS to get relevant information.

Make sure system.web.extension and system.web.extension.design.dll is installed on the server.


On your production server can you run any asp.net application ( without Ajax)?

If not, then you may have to enable ASP.NET on windows server 2003

Try to reinstall the required dll's system.web.extension.dll and system.web.extension.design.dll


I'm having the exact same problem. Everything works great locally, but when i move it to my dev webserver the update panel has stoped working. Everything makes the full postback. I have been pulling my hair out trying to get this to work. I have confimed that AJAX is installed in the GAC both locally and on the developement server. The webconfig is the same for both projects. I cannot for the life of me figure out why its not working. I am accessing my project on the development server through a UNC path. I have fixed the entries in the Code Access Security of the 2.0 configuration tool to stop getting the hostingpermission errors.

Any other suggestions that I should try?

Jason Snipes


Sepinsnosaj:

I'm having the exact same problem. Everything works great locally, but when i move it to my dev webserver the update panel has stoped working. Everything makes the full postback. I have been pulling my hair out trying to get this to work. I have confimed that AJAX is installed in the GAC both locally and on the developement server. The webconfig is the same for both projects. I cannot for the life of me figure out why its not working. I am accessing my project on the development server through a UNC path. I have fixed the entries in the Code Access Security of the 2.0 configuration tool to stop getting the hostingpermission errors.

Any other suggestions that I should try?

Jason Snipes

Once again the "Post Question on Listserv = Find Solution shortly after" mystery works again. My project is a subweb. In the main web in the web.config i still had the <xhtmlConformance mode="Legacy" />set. By removing that statement my ajax stuff started to work in my webweb.

You can read about the <xhtmlConformance mode="Legacy" /> issue here:http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx

Jason Snipes


Thanks Jason, I tried this and it worked for me on both the development machine running IIS5.1 and on the production server (IIS6)

My ajax enabled site is housed as a virtual directory under the main web site and to get it to work I had to remove the<xhtmlConformance mode="Legacy" />

line from the root web.config file!

Jon

ASP.NET AJAX Controls with SharePoint

I need to implement AJAX controls within SharePoint web parts? Is that possible? I can't seem to find any help on the Internet. Any information on what steps to follow would be greatly appreciated.

Regards,

Lilia Safronova

Check out this blog post:

ASP.NET Ajax in SharePoint


According to Daniel Larson's Blog, looks like a lot of javascripting will be required, right? What are the steps to create a very simple Ajax-enabled Hello World web part?

As soon as I inherit from SharePoint.Ajax.WebParts.AjaxWebPart, I get an error in the web part that it couldn't be found. Do you know why that is?

How do I get my hands on Ajax controls when in VS05?

I'm no very clear on what is needed to create Ajax-enabled controls for SharePoint. Would I have a web part (implemented in VS05) with a grid control for example and this .cs class would call a web service implemented with javascript (Ajax capability)?

Your help is very much appreciated.

Lilia

Monday, March 26, 2012

ASP.NET AJAX Beta 2 Bug

I have a popup window in a web project that on postback executes the following startup JavaScript:

window.opener.document.getElementById('rptrOtherCrit_ctl01_PTSValList1_hdnValues').value ='NJ';window.opener.__doPostBack('rptrOtherCrit$ctl01$PTSValList1$hdnValues','')window.opener.focus();window.close();

The hidden control in the opening page that is being modified is within an <asp:UpdatePanel> control. Everything works fine when using IE 6 but, when using Firefox 2.0 the following error appears in the Error Console:

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://localhost/TaxBrowser/ScriptResource.axd?d=rrMPh95m1EXHDVTP53sdlY7yEQVgCg7PqciEiGs1HCx_e6TnjvyveNwrB2X38b1_rlFCHP1MhbU0L_WYwgrZDpG_PF1uwTqLpZqVE5wb1XLd2paC8td9zt_W4KlqoZhrtCCwf7Z_N-6whUkZJdtjEe1ZeMEM-Pqb3wvBBXghujU1&t=633008283654152282 :: Sys$Net$XMLHttpExecutor$get_statusCode :: line 3509" data: no]
Source File: http://localhost/TaxBrowser/ScriptResource.axd?d=rrMPh95m1EXHDVTP53sdlY7yEQVgCg7PqciEiGs1HCx_e6TnjvyveNwrB2X38b1_rlFCHP1MhbU0L_WYwgrZDpG_PF1uwTqLpZqVE5wb1XLd2paC8td9zt_W4KlqoZhrtCCwf7Z_N-6whUkZJdtjEe1ZeMEM-Pqb3wvBBXghujU1&t=633008283654152282
Line: 3509


Certainly looks like a bug to me.

Try to test?it?in?IE?7.0,Opera,Escape?or?Safari?and?check?if?it?gets?the?same?error.Maybe?the?error?message?is?caused?by?
FireFox, not?Ajax?bug. Besides,can you post some codes here?This maybe?gives?us?to?fix?the?problem.
Try?to?debug?your?codes?and?fix?which?code?lines?cause?the?error?message.

I'm getting the same error (in firefox) just trying the sample at:

http://ajax.asp.net/docs/ViewSample.aspx?sref=Sys.Net.PageMethod%23PageMethod.aspx but not in IE 6. I'll try updating firefox


You need to add "[Microsoft.Web.Script.Services.ScriptService]" in front of the web service class in Ajax Beta 2.It is said this is a known bug in Ajax Beta 2.Try to add it and test your codes in IE,FireFox,Opera and Safari.Please let me know the testing results.

ASP.NET AJAX Beta 2 + ASMX Web Services = Parser Error !?!

Hi, I have my Web Services set up which works before ASP.NET AJAX installed. Now I am experiencing Parser Error when accessing my asmx web service.

My web.config is left untouched for the web services. The problem could be that the Web services is in the sub folders of my ASP.NET 2.0 + ASP.NET AJAX website. Please someone guide me on how to fix this error. It's quite urgent. Thanks!

Error Details:

System.InvalidOperationException: Failed to handle request. --> System.InvalidOperationException: Unable to handle request. --> System.Exception: Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The system cannot find the file specified. --> System.Web.HttpParseException: Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The system cannot find the file specified. --> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Preview' or one of its dependencies. The system cannot find the file specified.

File name: 'Microsoft.Web.Preview'

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)

at System.Reflection.AssemblyInternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

at System.Reflection.Assembly.Load(String assemblyString)

at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)

at System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail)

at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)

at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(ArrayList nsRegisterEntries)

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

I feel that you need to install Ajax Futures CTP in your PC and the error message indicates that there is noMicrosoft.Web.Preview.dll to refer in your website.Try to check if you haveMicrosoft.Web.Preview.dllin the bin folder of your ajax website.If not,try to install ajax Futures Nov CTP first and add it to the bin folder.
Besides,try to read this thread?-http://forums.asp.net/1476672/ShowThread.aspx#1476672 if there is?any failure to call web service method.
Wish the above can help you.
Thanks! I added the needed dll into the bin folder and that fixed the problem. Thanks! It seems strange when I tested on my machine, things work but on the server it doesn't. Probably because of the inheritance of the web.config.
Try to check the permissions in the deployed server. Right mouse click virtual directory to addNetwork Service account and chooseProperties. Try to setexecute permissionsfor "Scripts only" or "Executable and Scripts"in the Virtual Directorypanel.Besides,try to set Trusted Level = Full.

ASP.NET AJAX Beta 1 and AutoCompleteExtender

Have follow page:
1<%@dotnet.itags.org. Register TagPrefix="ajaxPreview" Namespace="Microsoft.Web.Preview.UI.Controls" Assembly="Microsoft.Web.Preview" %>23<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">45<html xmlns="http://www.w3.org/1999/xhtml" >6<head id="Head1" runat="server">7<title>test autocomlete</title>8</head>9<body>10 <script language="javascript">11 function onClick()12 {13 SearchService.GetAutoCompleteList("a",10, function(a1){alert(a1);} );14 }151617 </script>18 <form id="form1" runat="server" defaultfocus="UserNameTextBox">19 <asp:ScriptManager ID="MainScriptManager" runat="server" >20 <Services>21 <asp:ServiceReference Path="~/Services/SearchService.asmx" />22 </Services>23 </asp:ScriptManager>2425 <input type="button" id="btn" value="custom call" onclick="onClick();" />26 <asp:TextBox ID="tbSearch" runat="server" /><br /><br />2728 <ajaxPreview:AutoCompleteExtender ID="extSearchAutoCompleteExtender" runat="server"29 MinimumPrefixLength="1" Visible="true"30 ServicePath="~/Services/SearchService.asmx"31 ServiceMethod="GetAutoCompleteList"32 TargetControlID="tbSearch" />33 </form>34</body>35</html>36

and service:

[WebService][ScriptService]public class SearchService : WebService { [WebMethod] [ScriptMethod(true)]public string[] GetAutoCompleteList(string PrefixText,int count) { ... } }

When i press button - it works. But AutoCompleteExtender not work.
I debug internal JS Code. it seems that Request to server was send in JSON format, but not parsed on server properly, and call not come to Service.
I set breakpoint in service - it never come to it when use AutoCompleteExtender. But in Fiddler i can see that request goes to server.

in Jule CTP same code was works fine.

In anywherein new documentation has sample with AutoCompleteExtender ? how use it in ASP.NET AJAX Beta 1

hello.

it seems like you're using get for the request. try removing true from the scriptmethod and see if it works.


Initialy it was without true, but not work too.

I place true, when try to fix with. By Http Traces this flag not change anything.

I'm found a problem, but not know how to fix it.

when i call service with button follow package was send:

{"PrefixText":"a","count":10}
but when i type "a" in text box: content will be follow:
{"prefixText":"a","count":10}
 and response from server:
 
"@._Error(false,"Invalid web service call, missing value for parameter: \'PrefixText\'."," at Microsoft.Web.Script.Services.WebServiceMethodData.CallMethod(Object target, IDictionary`2 parameters) at Microsoft.Web.Script.Services.WebServiceMethodData.CallMethodFromRawParams(Object target, IDictionary`2 parameters) at Microsoft.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData, IDictionary`2 rawParams) at Microsoft.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","System.InvalidOperationException")Error_@."
Why in second case parametr prefixText starts with non Capital letter?


if I change Service Method signature form
public string[] GetAutoCompleteList(string PrefixText,int count)

to

public string[] GetAutoCompleteList(string prefixText,int count)
AutoCompleteExtender works fine. But i have no clue why it works so.
Can anyone explain why i need parametrs started from nonCapital letter?

First off... thanks for posting this (along with the solution) as i just ran into that error as well (Fiddler is so great for helping debug, eh)

Anyways, to maybe make an attempt at answering:

mogadanez:

Can anyone explain why i need parametrs started from nonCapital letter?

Perhaps since the "closure" to "prototype" change that capitalization became important? that's just a wild shot in the dark


Just to backup my wild shot in the dark, using fiddler to poke around the javascript files spit out by the ScriptManager it has:

Sys.Net._WebMethod._invoke(this, this._serviceMethod, this._serviceMethod, false,
{prefixText : this._currentPrefix, count: this._completionSetCount },

when i call service method "by hand"

<script language="javascript">
11 function onClick()
12 {
13 SearchService.GetAutoCompleteList("a",10, function(a1){alert(a1);} );
14 }
15
16
17 </script>
...
19 <asp:ScriptManager ID="MainScriptManager" runat="server" >
20 <Services>
21 <asp:ServiceReference Path="~/Services/SearchService.asmx" />
22 </Services>
23 </asp:ScriptManager>

it's work with any parametrs names "PrefixText", "prefixText", and "BLABLA"
It is not work from AutoCompleteExtender ( and maybe from other components )

and i have no idea why.


hello.

that's weird...i've just tested with a simple page and i've named the parameter PrefixText and it works without any problem...


in simple service call? or in AutoCompleteExtender?

mogadanez:

if I change Service Method signature form

public string[] GetAutoCompleteList(string PrefixText,int count)

to

public string[] GetAutoCompleteList(string prefixText,int count)

AutoCompleteExtender works fine. But i have no clue why it works so.

I had the exact same problem and was getting very frustrated by it. This fixed my problem perfectly. Thank you for posting this fix.

Devteam, Can we get updated documentation showing these sorts of updates or atleast some form of example for the AutoCompleteExtender.


Another big thanks here !!!

I thought I was going nuts, how much can go wrong in configuring the autocomplete extender.

changing PrefixText to prefixText was all it took.

Kuddo's !


This problem is true for VB.net also. Thanks for the help.
hello guys. just like to confirm if this behavior happens when you use the internal server or only with iis. thanks.
I am using Localhost with IIS

ASP.NET Ajax and Google Maps API

Hi all,

I have developed the web application for displaying the maps inASP.NET using Atlas and Google Maps API. The map is working fine there. Now, I have to migrate the Atlas web application toASP.NET Ajax. Migration has been performed successfully and code is building without errors. While running, Web Service isn't called. I am calling the web service method from Javascript. In another test application (without Google Maps API), I have called the web method from Javascript. Is there any problem due to Google Maps API. Apparently, it seems fine. If any one know about this issue, please let me know.

Thanks in advance.
Best Regards

Webservices now have to be flagged with the [ScriptService] attribute in order to be used, have you made that change?


Yes, I have made that change. In the script manager tags, now js file needs to be mentioned. I also mention that using script reference tag.

I have a problem adding points to a yahoo map with a webservice using asp.net ajax as well. It seems like the oncomplete event is not being "waited for" and I am trying to plot to an array that has no contents. If i trigger the event a second later after i have my webservice response it works fine :) try doing alert() to check to see if something is being received..In my case my x coordinate array wasnt populated by the time i got to my addmarker event linked to a button click but my ycoor and name of the point were populated. I have resorted to making the web service call on load but it is definitely not a best practice scenario.

-Scott

ASP.net Ajax Accordion issues


I am new to asp.net and rebuilding some websites using Visual Studio Web Developer edition. I created a right column that includes the ajax accordion panels following the tutorials on asp.net website. They are working flawlessly when previewing in the browser using VS's asp.net development server but when I try viewing the page via IIS using my local development server or our production server the accordion panels do not work. You click on the link to activate the panel and it just sits there and does nothing. Located in the left hand windows of IE says Done, but with errors. It gives me a line number but does not correspond to the line numbers in my code. Also not sure if this has anything to do with it, but the accordion panels are loaded up in a content section, I am using a master page.

Thanks for any assistance or suggestions,

Gym

just giving it a try. Is all dll's required for accordion to work present in your dev server or prod server. can you post what error does IE show you?. is it working with any other browser like firefox?

Thanks,


The dll's should be the AjaxControlKit and the System.Web.Extensions correct located in my bin folder? They are located in the same directory as the site files. Also I tried moving the bin folder to the root of the IIS server, i.e. Inetpub/WWW. Also it does not work in other browsers like FF.

Error from IE:

Line: 292
Char: 1
Error: 'Sys' is undefined
Code: 0
URL: http://localhost/work/new/

If you need any further information, please feel free to ask and I can post anything else that would pertain to the issue.

Best Regards,

Gym


looks like you are missing ajax extensions 1.0 installed in prod or dev server. pls install them. it is not sufficient if you have them in bin folder.

Thanks,


Yes, it is installed on both servers. I have also un-installed and reinstalled it. I downloaded the sample accordion script from the site and it produces the same results. Been searching the net for hours and really at a lost. It has to be something on the server side as I am able to run all of the accordion examples from other sites. :(


Hi,

Thank you for your post!

Please ckeck out the following link:

http://weblogs.asp.net/chrisri/archive/2007/02/02/demystifying-sys-is-undefined.aspx

In that article,Chris Riccio give youseveral reasons why the error appears:

1. The browser fails to load the compressed script

This is usually the case if you get the error on IE6, but not on other browsers.

The Script Resource Handler – ScriptResource.axd compresses the scripts before returning them to the browser. In pre-RTM releases, the handler did it all the time for all browsers, and it wasn't configurable. There is an issue in one of the components of IE6 that prevents it from loading compressed scripts correctly. See KB articlehere. In RTM builds, we've made two fixes for this. One, we don't compress if IE6 is the browser client. Two, we've now made compression configurable. Here's how you can toggle the web.config.

How do you fix it? First, make sure you are using the AJAX Extensions 1.0 RTM release. That alone should be enough. You can also try turning off compression by editing your web.config to have the following:

<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="false" enableCaching="true" />
</scripting>
</system.web.extensions>

2. The required configuration for ScriptResourceHandler doesn't exist for the web.config for your application

Make sure your web.config contains the entries from the default web.config file provided with the extensions install. (default location: C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025)

3. The virtual directory you are using for your web, isn't correctly marked as an application (thus the configuration isn't getting loaded) - This would happen for IIS webs.

Make sure that you are using a Web Application, and not just a Virtual Directory

4. ScriptResource.axd requests return 404

This usually points to a mis-configuration of ASP.NET as a whole. On a default installation of ASP.NET, any web request to a resource ending in .axd is passed from IIS to ASP.NET via an isapi mapping. Additionally the mapping is configured to not check if the file exists. If that mapping does not exist, or the check if file exists isn't disabled, then IIS will attempt to find the physical file ScriptResource.axd, won't find it, and return 404.

You can check to see if this is the problem by coipy/pasting the full url to ScriptResource.axd from here, and seeing what it returns

<script src="http://pics.10026.com/?src=/MyWebApp/ScriptResource.axd?[snip - long query string]" type="text/javascript"></script>

How do you fix this? If ASP.NET isn't properly installed at all, you can run the "aspnet_regiis.exe" command line tool to fix it up. It's located in C:\WINDOWS\Microsoft.Net\Framework\v2.0.50727. You can run "aspnet_regiis -i -enable", which does the full registration of ASP.NET with IIS and makes sure the ISAPI is enabled in IIS6. You can also run "aspnet_regiis -s w3svc/1/root/MyWebApp" to only fix up the registration for your web application.

If you have further questions,let me know.

Best Regards,

ASP.NET AJAX 1.0 RC without AJAX Futures December CTP

I want to keep my web application's overhead as small as possible. In the Asp.Net Ajax "Get Started" page, I notice the order of setup is different:http://ajax.asp.net/default.aspx?tabid=47

I want to know does it mean that "ASP.NET AJAX Control Toolkit" doesn't need "AJAX Futures December CTP"?

Thanks!

It (The Toolkit) does not need the Futures CTP.

Asp.Net Ajax 1.0 goes odd with MapXtreme 2005 6.6

I put a scriptmanager and updatepanel in my web gis application base on MapXtreme 2005 6.6; everytime I click the contols in the updatepanel the web browser will refresh the whole web page which is odd for Asp.Net Ajax 1.0.

Then I put the same scriptmanager and updatepanel and my own controls into another web page without MapXtreme 2005 6.6, it goes exactly the way I want. But I wonder Asp.Net Ajax 1.0 FrameWork should work right in every asp.net web page with any web controls outside the updatepanels

Have you create AJAX Enabled Web Site...

Check the property of ScriptManager EnablePartialRendering="true" and for UpdatePanel UpdateMode="Conditional"

Saturday, March 24, 2012

ASP.Net AJAX - Cannot Set focus to a TextBox inside an Update Panel

Hi; I am using the released version of AJAX Controls and I am working on a Web Application with a Masterpage.
What I would like to do is, I have two Radiobuttons and two TextBoxes inside an update panel; When the user clicks the RadioButton1, I would like to set the focus to TextBox1 and if the user clicks the RadioButton2, I would like to set the focus to the TextBox2. I have googled for it and found couple of similar solutions that works with the beta AJAX assembly "Microsoft.Web.Atlas" but it doesn't work with the ASP.Net AJAX which I am using in my current project.

The following code works just fine when I use theMicrosoft.Web.Atlas soplease let me know if anyone knows a solution that works with the released version of AJAX Controls; Thanks in advance.

//***************************************************************************************

//Code behindprotected void RadioButton1_CheckedChanged(object sender, EventArgs e) { SetMyFocus(ref TextBox1); TextBox1.Focus(); }private void SetMyFocus(ref TextBox txtBox) {string focusString ="setTimeout(\"$('" + txtBox.ClientID + "').focus(); \", 100);"; ClientScript.RegisterStartupScript(this.GetType(),"focusString", focusString,true); }protected void RadioButton2_CheckedChanged(object sender, EventArgs e) { SetMyFocus(ref TextBox2); TextBox2.Focus(); }

//***************************************************************************************
 The following code is from the source view of the page
 
<%@dotnet.itags.org. Page Language="C#" MasterPageFile="~/Test.master" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" Title="Untitled Page" %><%@dotnet.itags.org. Register Assembly="Microsoft.Web.Atlas" Namespace="Microsoft.Web.UI" TagPrefix="cc1" %><asp:Content ID="Content1" ContentPlaceHolderID="CPHTest" Runat="Server"> <cc1:ScriptManager ID="ScriptManager2" runat="server" EnablePartialRendering="true"> </cc1:ScriptManager> <cc1:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:RadioButton ID="RadioButton1" runat="server" AutoPostBack="True" OnCheckedChanged="RadioButton1_CheckedChanged" GroupName="Group1" /><br /> <asp:RadioButton ID="RadioButton2" runat="server" AutoPostBack="True" GroupName="Group1" OnCheckedChanged="RadioButton2_CheckedChanged" /><br /> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br /> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br /> <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />   </ContentTemplate> </cc1:UpdatePanel></asp:Content>

Hi,

I am using the new SetFocus method of the ScriptManager class.

Example:

ScriptManager1.SetFocus(TextBox2);

I works with the last release of Microsoft AJAX.

Hope this helps,

David


Wow; that works great; Thanks for the quick reply.

Jacob


I am using the Atlas beta version. I am having the same textbox focus problem. I tried to use the setFocus(), but i couldnt find the setFocus() of the scriptmanager.

Where to use

ScriptManager1.SetFocus(TextBox2);

I just have the

ScriptManager1.Focus() method. please help.

Thanks in Advance


Use the latest version of ASP.NET AJAX


Thanks lot

I also having same prob and search the web for solution. This is tha only place that I found a resolution.

Thanks lot again

asp.net ajax

Hello, We have Visual Studio 2003, if we are now interesting in the advantage of asp.net ajax to improve user experience in our web applications, what do we have to do? I guess change VS 2003 to VS 2005, Am I rigth, what else?

If you want to use ASP.NET AJAX you must indeed change to vs2005. There are a several other frameworks that you can use with vs2003. For a detailed list check out:

http://www.ajaxdiff.com/Default.aspx?filter=dotnet

I Like the Anthem toolkit because the complete AJAX Functionality is build i server controls.


You certainly have to upgrade to VS2005 or Visual Web Developer to take the full advantage of Asp.net Ajax. But in case if you still want to stuck with VS 2003 checkout this posthttp://geekswithblogs.net/rashid/archive/2007/07/21/Asp.net-Ajax-and-VS2003.aspx