ASP.NET AJAX 1.0 Beta 2 Release

On Monday we shipped the Beta2 release of ASP.NET AJAX (aka "Atlas").  You can learn more about it on the http://ajax.asp.net web-site and download it here

ASP.NET AJAX Beta 2 Downloads

Included with the Beta 2 release are three downloads (each of which supports a go-live license)

ASP.NET AJAX 1.0 Beta2: This is the "core" ASP.NET AJAX download and contains the features that will be fully supported in the ASP.NET AJAX 1.0 release (meaning Microsoft product support is standing by 24x7).  The download includes support for the core client-side JavaScript type-system, networking stack, component model, extender base classes, and the server-side functionality to integrate within ASP.NET (including the super-popular ScriptManager, UpdatePanel, UpdateProgress, and Timer controls). 

ASP.NET AJAX Control Toolkit: This download contains 30+ free ASP.NET AJAX controls (with full source code) that make common AJAX scenarios super easy (cascading dropdown lists, animations, modal dialogs, in-place pop-up extenders, etc).  The toolkit is community supported, and built by an open source team containing both Microsoft and non-Microsoft developers.  It only uses AJAX features contained with the ASP.NET AJAX 1.0 Beta2 "core" release above.

ASP.NET AJAX Futures November CTP: This download contains a preview of future AJAX features that we are working on and will likely move into the ASP.NET AJAX "core" download once they are fully baked and understood.  If you want to use APIs that are non-changing and fully-supported, you should target the "core" download above.  But if you want to push the envelope this download provides a bunch of features to take advantage of.

New Features in ASP.NET AJAX Beta 2

In addition to a number of bug-fixes, the ASP.NET AJAX Beta 2 release contains a number of feature improvements worth calling out:

UpdateProgress Control: The UpdateProgress control is now included in the fully-supported "core" ASP.NET AJAX 1.0 Beta 2 download (in Beta1 it was still in the Futures CTP download).  The UpdateProgress control has also been enhanced over the version that shipped in the earlier Atlas CTPs, and now supports the ability to have multiple UpdateProgress controls on a page (and show/hide depending on the UpdatePanel that is being updated).  The UpdateProgress control also now has a useful "DisplayAfter" property that allows you to easily control the wait time before the UpdateProgress animation should display (to avoid you displaying an animation if the response comes back super quick).

Partial Rendering Auto-Degrade for Non-AJAX Browsers: A ScriptManager.SupportsPartialRendering boolean property has been added to indicate whether or not an incoming browser supports AJAX.  By default this is automatically set using settings configured via ASP.NET's BrowserCapabilities system (meaning you can override or customize the setting using .browser files). If you configure or set this value to false for a particular browser or device, ASP.NET AJAX will auto-degrade and not use partial page rendering with UpdatePanels - and instead just use normal postbacks and full page refreshes.

Simplified Client-side Event Binding API: The client-side AJAX JavaScript library now has a cleaner mechanism for binding and detaching multiple event handlers to a DOM element, which reduces the amount of code you have to write and can also helps avoid memory leaks.  Read Bertrand's great blog post to learn more about the new model.

Client-Side JavaScript Localization: Client scripts can now automatically retrieve localized resources from the server, making it possible to more easily create locale and region aware web UI.

Client JavaScript Debugging and Tracing Improvements: A number of additional improvements have been added in Beta2 to identify and diagnose issues in JavaScript.  You can also now use debug.trace and debug.dump to output JavaScript trace statements to either a textarea element you embed within a page, or to the popular FireBug browser add-in or Nikhil's WebDevHelper add-in utilities.

The ASP.NET AJAX team has also built a number of useful JavaScript source management utilities for adding debug parameter validation into JavaScript source code, and have it conditionally be stripped out depending on whether you process the script in "retail" or "debug" mode at development time.  We are going to be shipping the source for these utilities as part of the ASP.NET AJAX Control Toolkit in the near future, which will enable developers to easily take advantage of them within their own projects (we'll even have some cool MSBuild tasks that you can add to-do it for you automatically as part of your standard build process).

Client-Side JavaScript CSS helpers: There is now a useful JavaScript library included that enables developers to easily add, remove and toggle CSS class associations on client controls and elements.

Drag/Drop Support for ASP.NET Web Parts in Safari and FireFox: You can now enable drag/drop of ASP.NET Web Parts using both FireFox and Safari (this later support was not available in the earlier CTPs).  Read all about it in David Barkol's blog post here, or click here to see a screen-shot of web part portal drag/drop customization in action with Safari on a Mac.

Performance and Stability Improvements: The ScriptManager API has been improved with richer support for handling timeout situations with dynamically loaded scripts.  Script components can also now register for dispose semantics to avoid possible memory leaks.

Upgrading from ASP.NET AJAX Beta 1

There is a document on the http://ajax.asp.net home-page that describe how to take an existing ASP.NET AJAX Beta1 application and update it to use Beta2.  This should be relatively straight-forward and only take a few minutes.  The one gotcha to watch out for is that you need to add a "ScriptResources.axd" <httpHandler> into your existing Beta1 web.config files:

<add verb="GET"
path="ScriptResource.axd"
type="Microsoft.Web.Handlers.ScriptResourceHandler"
validate="false"/>

If you don't do this, you will see the following JavaScript error at runtime:

'Sys' is undefined.

Hope this helps,

Scott

P.S. Apologies for the delay in posting this - I've been busy at the ASP.NET Connections Conference in Las Vegas the last few days (talking to the 1500+ people attending the show this fall -- wow!).

Published Wednesday, November 08, 2006 11:47 PM by ScottGu
Filed under: , ,

Comments

# ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 4:12 AM by ナオキにASP.NET(仮)

ScottGu's Blog からです。 ASP.NET AJAX 1.0 Beta 2 Release 先日 ASP.NET AJAX β2 リリースを伝えましたが、Scott さんが詳細に解説をしていました。前回は

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 4:37 AM by fumade
Thanks for this article. I installed ASP.NET AJAX Beta 2,but why in my VS2005 cannot find atlas ttemplate? and i cannot create altas project?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 5:07 AM by Fabrice Marguerie

Congratulations. I'm a great fan of UpdatePanel and UpdateProgress. They are very useful and yet simple to use. A small improvement that could be made to UpdateProgress is adding a RenderMode to it just like the one UpdatePanel has, so it can be rendered inline.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 5:32 AM by Moran Helman - Israel
Thnx man ! Good Job with the explanation of the new beta release.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 6:51 AM by SimonHL
Hi Scott Congrats to you and team on the latest release - AJAX is wonderful. Any comment/ update on the possibility of a non-GAC version as you mentioned previously? My client won't install beta software in the GAC, which means I've had to go back to the last CTP before Beta 1... Cheers Simon

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 9:01 AM by Brian Donahue
Hey Scott, Another thing I was told was in Beta 2 was the return of Bridge support. Apparently it was a late addition, and isn't documented at all. We've been trying to update our CTP bridge stuff and are running into some issues. Any idea when they may release some examples or documentation of any breaking changes, etc? Seems like the bridges are being called, classes generated, etc, but somewhere inside the BridgeHandler class it's getting a null reference error, even though it seems it shouldn't. I posted a forum question here: http://forums.asp.net/thread/1456436.aspx

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 9:40 AM by Zack
Hey Scott, did your guys ever take a look at the problem I was having with the TextBoxWaterMarkExtender? I remember you looped a guy in but he never responded.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:08 AM by vaspnet
Great news. Thanks, Scott.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:24 AM by Harpreet
Does that release support medium trust if the core dll is installed in bin directory? This would be a big help for all of us surviving in shared hosting as most of the hoster have not yet installed the ajax beta on to their servers.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:44 AM by ScottGu

Hi Fumade,

After you install ASP.NET AJAX Beta2, you should be able to-do File->New Web Site and select the "ASP.NET AJAX" template that is in the top-list of web site templates.  Are you not seeing this?  If so, can you send me mail (scottgu@microsoft.com) and I can have someone investigate.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:47 AM by ScottGu

Hi Simon/Harpreet,

The team is looking into the local \bin deploy support now.  You can with both B1 and B2 deploy the ASP.NET AJAX assembly in the \bin directory and not GAC it and have it run fine provided you run in full-trust.

To run in partial trust (which is what most shared hosting scenarios use) you need to GAC the assembly - which some hosters aren't willing todo until the final V1 release.

We are looking at possibly releasing an interim special build that will support \bin directory based partial trust as a workaround in the meantime - although it isn't included in this Beta2 release just yet.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:48 AM by ScottGu

Hi Brian,

Can you send me an email about the Bridge support?  I'm not sure myself of its status with this release, but could loop you in with someone who would know.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 10:54 AM by ScottGu

Hi Zack,

I'm not sure about the TextBoxWaterMarkExtender issue.  Can you send me mail reminding me what it is and I can loop someone in to check.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 12:43 PM by Morgan
Hey Scott, any chance you could post a quick walkthru of the demo you did at the keynote on Tuesday? In particular how you created that data layer in 5 seconds, attached a gridview to it and than ajaxed it in under 10 minutes...that was just amazing, and I'd like a closer view at what you did. Thanks!

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 1:01 PM by ScottGu

Hi Morgan,

Yep -- I'll definitely be posting a video of this soon.  There is an older video today on the http://ajax.asp.net website that you might want to check out.

And you can learn how to use the TableAdapter DAL code I used from this tutorial series: http://www.asp.net/learn/dataaccess/default.aspx?tabid=63

But I'll put together an end-to-end video soon updated for ASP.NET AJAX Beta2 and the AJAX Control Toolkit shortly.

Thanks,

Scott  

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 3:42 PM by Michael Stuart
FYI: It appears that the new resource handler used by beta 2 does not do substitution. Please fix this for control developers. http://forums.asp.net/thread/1456342.aspx

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 4:01 PM by Dieter
Hello Scott, great news. I am using Atlas/Ajax for a long time now and I love it! I currently have an issue after updating from beta1 to beta2: I am getting "Sys.Preview.UI is null or not a object" in client side script even after adding script reference to PreviewScript.js in scriptmanager. Any ideas? Thanks, Dieter

# re: ASP.NET AJAX 1.0 Beta 2 Release (webparts)

Thursday, November 09, 2006 4:07 PM by Ali Shahbour
Hello i tried teh webparts with FireFox, it is working for the first move, from one zone to another then if i want to move another control it won't it keep like select the text on the page from where i have putten the first control, some times it work again if go to browse mode the desgin mode

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 5:30 PM by Pieter Siegers
Hi Scott, some related Qs... I'd like to know if I can install .NET 3.0 on my XP sp2 that has .NET 2.0 and Ajax Extensions Beta 2 (including Nov. CTP) installed. Another Q: can I install and use AJAX Extensions and CTP Nov. on a Windows Vista RC2 machine (which has .NET 3.0)? TIA, Pieter

# Beta2 of ASP.NET AJAX ("Atlas")

Thursday, November 09, 2006 6:29 PM by Your Websites, Our Passion!

This Monday we shipped Beta2 of the ASP.NET AJAX framework – formerly known as “Atlas”. You can visit

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 09, 2006 11:16 PM by Chris
Hi Scott, Is there a new way of extending multiple controls in the new Beta? Ie. in one of your webcasts you use more than once to extend several controls but this doesnt seem to work now! Great news though, we're having a lot of fun with the new controls. :-)

# Link Listing - November 9, 2006

Friday, November 10, 2006 12:32 AM by Christopher Steen
ASP.NET AJAX 1.0 Beta 2 Release [Via: ScottGu ] Windows Vista Ships with .NET FX 3.0 and IIS7 Built-in...

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 1:05 AM by fumade
thanks for you reply,Scott. I see it now. but when i new a web application(not web site), i cannot see the template.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 1:28 AM by Josh J
I'm having a helluva time getting my app to compile after uninstalling Beta 1. I did everything I thought should work. Getting "Unrecognized tag" on the ScriptManager. Checked my web.config for all the appropriate entries, they're all there. Even tried removing them from the Toolbar and readding and then dragging and dropping, thinking maybe VS knew something I didn't. No dice. I tried copying DLL's to the BIN. Even though they're in the GAC. Notta. Added Register statements directly to the page with full path's (tokens, full names). Same build error. I thought I would remove them from the GAC and keep it local, isolate the issue. I get an error trying to wax the Microsoft.We.Extensions.dll from the GAC saying other apps rely on this assembly. This is EXTREMELY frustrating. Why should I not be able to uninstall DLL's from MY GAC?! I didn't even know this was possible. I deploy my app out on a hosted server that runs in medium trust mode with a few options. I don't have access to the GAC obviously. I like to develop in a similar environment. How can I get my app to build again?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 1:48 AM by Josh J
Figured out a solution. If it's a masterpage that uses a nested masterpage then a register directive needs to be on the page. Using the asp tagprefix causes problems as well. Here's my directive: <%@ register assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="Microsoft.Web.UI" tagprefix="aspp" %> Everything builds now.

# ASP.NET AJAX 1.0 Beta 2 发布

Friday, November 10, 2006 2:39 AM by scottgu

星期一,我们发布了ASP.NET AJAX(即Atlas)的Beta2版本。你可以在 http://ajax.asp.net 网站上了解更多的细节,可以在这里下载这个版本。

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 3:58 PM by celoftis

Using VS 2005:

This morning, following the instructions here:

http://ajax.asp.net/docs/overview/InstallingASPNETAJAX.aspx,

I installed ASP.NET AJAX on my WinXP Pro development machine. Following

that, I installed the "November 2006 CTP" and "Control Toolkit" - then

I re-booted my machine.

Next I tried to create a simple, sample page...

I have the AJAX controls in my toolbox, but when I drag on onto my page

it gets underlined - denoting a compile error. For example, when I drag

a script manager on to my page, the compile error states (NOTE: Before

dragging the script manager control on the page, it compiled and ran

w/o incident):

Error   1       Element 'ScriptManager' is not a known element. This can occur

if there is a compilation error in the Web site.        C:\Documents and

Settings\...ebSites\TaskList\TodoList.aspx      4       10      C:\...\TaskList\

So, thinking my page was a problem, I created a sample ASP.NET AJAX

page from

http://ajax.asp.net/docs/ViewSample.aspx?sref=PartialPageRenderingOve...

and placed it on my local web server. When I navigated to my local

page, I got the error (ERROR_01) attached at the end of this message.

It appears that .NET has not found the DLLs in my "C:\Program

Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\"

folder. Here's a list of the ones that are there:

     AJAXExtensionsToolbox.dll

     Microsoft.Web.Extensions.Design.dll

     Microsoft.Web.Extensions.dll

     Microsoft.Web.Preview.dll

I'm thinking that I've missed something simple... can anyone help?

Thanks for you attention to this matter,

celoftis

<---------------------------------------ERROR_01

BELOW----------------------------------------->

Server Error in '/' Application.

---------------------------------------------------------------------------­-----

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: Could not load type

System.Web.UI.WebControls.ScriptManager from assembly System.Web,

Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

Source Error:

Line 16:     <form id="form1" runat="server">

Line 17:     <div>

Line 18:       <asp:ScriptManager ID="ScriptManager1" runat="server" />

Line 19:       <asp:UpdatePanel ID="UpdatePanel1" runat="server">

Line 20:       <ContentTemplate>

Source File: c:\inetpub\wwwroot\ASP.NET\AJAX\Updatepanel.aspx    Line:

18

---------------------------------------------------------------------------­-----

Version Information: Microsoft .NET Framework Version:1.1.4322.2032;

ASP.NET Version:1.1.4322.2032

<---------------------------------------ERROR_01

ABOVE----------------------------------------->

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 4:11 PM by Dieter
Hi Scott, I am working with Atlas/Ajax for a quite long time and I love it! Thanks for the great work. After updating from beta1 to beta2, I have an issue: when using Sys.Preview.UI.CheckBox in client javascript, I am getting "Sys.Preview.UI is null or not a object". I have now added the script reference to Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js but still same error. Any ideas? Thanks, Dieter

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 10, 2006 5:04 PM by Scot
I just started with Atlas and found it easy to convert an App I had to use an update panel and a timer. It works great running on my workstation from within VS2005, but when I publish to my server and try to access I get... [MissingMethodException: Method not found: 'Void Microsoft.Web.UI.Controls.Timer.add_Tick(System.EventHandler)'.] _Default.set_timer1(Timer WithEventsValue) +0 ASP.atlascalendar_aspx.__BuildControltimer1() in C:\Sites\InsideLiberty\atlascalendar.aspx:20 ASP.atlascalendar_aspx.__BuildControlform1() in C:\Sites\InsideLiberty\atlascalendar.aspx:11 ASP.atlascalendar_aspx.__BuildControlTree(atlascalendar_aspx __ctrl) in C:\Sites\InsideLiberty\atlascalendar.aspx:1 ASP.atlascalendar_aspx.FrameworkInitialize() +39 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.atlascalendar_aspx.ProcessRequest(HttpContext context) +29 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 Any help would be greatly appreciated... -Scot

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:52 AM by vikram
Wow some good work being done in Asp.net Ajax extension Is there any plan to support the partial page update even without using the static methods

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:13 PM by ScottGu

Hi Vikram,

I'm not sure I understand the partial page updates without static methods part of your question.  UpdatePanels don't require any static methods at all today.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:14 PM by ScottGu

Hi Scot,

Have you installed ASP.NET AJAX Beta2 on your saerver?  From the method above it sounds like you are running into an issue where an assembly can't be found or loaded.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:24 PM by ScottGu

Hi Dieter,

Can you send me a simple .zip file showing the error?  I can then loop in a few folks from my team who will be able to investigate and help.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:34 PM by ScottGu

Hi Fumade,

Unfortunately with ASP.NET AJAX Beta2 it only has a "new template" for web-site projects, and not for web-application ones.

The next refresh will include an ASP.NET AJAX template for "New Web Application" as well.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:38 PM by ScottGu

Hi Chris,

We changed the syntax for extender controls slightly with ASP.NET AJAX Beta1.  Rather than have extenders have sub-properties, you instead just declare multiple top-level Extender controls.

So for your roundedcorner example you'd just have two roundedcornerextenders on the page - each pointing to a separate control to extend.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, November 11, 2006 12:43 PM by ScottGu

Hi Michael,

I just sent mail to somone on the team about the substitution feature to see what the status is.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Sunday, November 12, 2006 11:39 AM by Michael Stuart
Great, thanks Scott! The substitution ability is important for the control my company is developing. I got around it for now by just using another javascript class that gets processed by the normal resource handler. I use this class from within my ASP.net AJAX classes in order to retrieve the resource image urls. I look forward to the next release from the team.

# [MissingMethodException: Method not found: 'Void Microsoft.Web.UI.Controls.Timer.add_Tick(System.EventHandler)'.]

Sunday, November 12, 2006 1:37 PM by Scot
Thanks for the response, Scott. I have installed beta 2 on the server. I just removed and reinstalled it and I still get...[MissingMethodException: Method not found: 'Void Microsoft.Web.UI.Controls.Timer.add_Tick(System.EventHandler)'.] The server is up to date on server 2003 and iis6 and is runnig .Net 2.0 apps without any other issues... An further ideas, or a point to where I may get more assistance with this? Thanks, Scot

# doubt on UPDATE panel and Script Manager

Monday, November 13, 2006 5:33 AM by jakko US
hi scott,i have followed the proceduers that you have given in working with UPDATE PANEL and SCRIPT MANAGER but i cant restrict the POSTBACK..Can You Please Point POsssible Mistakes we have OR SIMPLFY How to USE ASP.net AJAX,CONTRLS..

# ASP.NET AJAX 1.0 Beta 2 Release - that was quick

Monday, November 13, 2006 5:00 PM by Curtis Swartzentruber

ASP.NET AJAX B2 just came out, that didn't take long. Probably won't install it right away since...

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, November 14, 2006 8:52 AM by Kanstantsin K.
When are you going to implement Menu and UpdatePanel compatibility?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, November 14, 2006 10:07 AM by John Oswalt
Does Beta 2 support use of the file upload control in the UpdatePanel?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, November 14, 2006 10:34 AM by ScottGu

Hi John,

You can't do asyncpostbacks with FileUpload (the browser doesn't allow it).

But Beta2 does allow you to have both async postbacks and regular postbacks for updatepanels now.  If you register a trigger to-do a regular postback on file-upload scenarios it will work.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, November 14, 2006 4:35 PM by Oisin G.

Not sure if you noticed, but this page elicits a javascript error:

"Sys is undefined"

Not reading our own upgrade advice? ;)

- Oisin

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, November 15, 2006 4:55 AM by Erik

Hi Scott,

Dieter here seems to have the same problem I have: "'Sys.Preview.UI is null or not a object' in client side script even after adding script reference to PreviewScript.js in scriptmanager"...

Can you fill me (us) in on the solutions you or your team have offered him?

I have the problem since updating to beta 2 so I figured I did something wrong in the web.config, but even with a nice sample project by David Barkol at dotnetslackers I keep having the same problem.

Thanks in advance,

Erik

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, November 15, 2006 1:14 PM by Russell de Grove

Lack of support for instance page methods will make it difficult, if not impossible, to migrate to this from our development with the earlier ATLAS betas.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 16, 2006 10:29 AM by Christian

Hi Scott,

i have the problem, that on our live-system no scriptresource-files are transferred to the client. Any Idea? On the dev-system everything works fine.

Thnx

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 17, 2006 2:51 AM by Bart Bishop

Scott, I got great help from the Ajax video you did (Scott's Todo List). Is there anyway to get the code for that? Specifically, the stylesheet.css file and images folder that you copied in.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 17, 2006 10:34 AM by ScottGu

Hi Bart,

If you can email me (scottgu@microsoft.com) I will send you the stylesheet and images.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 17, 2006 10:46 AM by ScottGu

Hi Christian,

I haven't heard of that issue before.  Can you send me an email with the details and I'll loop someone in to take a look?

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, November 17, 2006 11:05 AM by ScottGu

Hi Russell,

Can you send me email (scottgu@microsoft.com) about your page instance method usage?  I can then loop you in with someone on the team who can help.

Thanks,

Scott

# How I can use Menu with Update Panel in ASP.NET?

Sunday, November 19, 2006 10:46 PM by Vimlendra Nabh tripathi

I want to use Menu with UpdatePanel(Ajax)but it not works. How I can use it?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, November 22, 2006 3:51 PM by wahyu

can it be rendered inline ??? so it can appears next to a button without pushing everyting down.

# Nov CTP

Thursday, November 23, 2006 4:00 PM by Milind

Hi Scott,

I am using ASP.NET Ajax 1.0 beta 2 NOV CTP release. I am trying to use the drag-drop list functionality. The error I get is "Array.add is not a function". Is that a known issue? Am I missing something here?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Sunday, November 26, 2006 6:47 PM by Dan

I'm getting the Sys is undefined error on:

http://weblogs.asp.net/scottgu/archive/2006/11/08/ASP.NET-AJAX-1.0-Beta-2-Release.aspx! (running IE 7). Any workaround (other than the one on this page)? Have the same problem here on one machine, but not on another.

Thanks

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, November 28, 2006 12:59 PM by stathis

Hi Scott,

I would like to create an autocomplete edit box using Ajax (retrieving data from a DB using web service).

I tried to find it in the toolbox but it seams there isn't any.

Is that so? and if that's the case wich existing controls you think could help me?

I'm new in Ajax as you understand and any help is welcome.

Thanks

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, November 29, 2006 1:15 PM by ScottGu

Hi Stathis,

There is an <autocompleteextender> control within the ASP.NET AJAX Futures download.  That should help.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, November 30, 2006 12:47 AM by Chris Hill

I've installed the Beta 2 Release and I do not see the Templates (Visual Studio 2005).  What am I doing wrong?  I see File -> New -> Web Site (I don't even see one for New Web Application) then under Templates there is just "Search Online Templates".  Is there something else I have to install, something else I need to setup?

I'm trying to follow the directions to get setup with the toolkit, but one of the first steps is to create a new web site with this template.

Thanks for any help,

Chris H.

# Security Violation

Thursday, November 30, 2006 3:32 AM by Shai Lagrosa

I tried loading the sample website that came with the Ajax toolkit to my shared hosting server that runs .NET 2.0, and got a Security Exception when I tried opening up any of the sample controls (see http://www.pilipinoy.com/Accordion/Accordion.aspx):

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]

  System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0

  System.Security.CodeAccessPermission.Demand() +59

  System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 01, 2006 12:49 AM by Steve

Hi Scott,

I seem to be reading conflicting blogs/forums about web parts and ajax (update panel) support.  Per your outline above of the Nov futures, it seems drag n drop support has been added for safari/firefox however can't seem to get a very simple example working in ie 7.  updates within a zone work fine, but when attempting to drag parts between zone a "post" is required for it to work, otherwise numerous javascript errors occur?  Can you simply tell me if web parts (dnd) is supported within an update panel, and if so where I may find a working sample or overview as I've tried everything I can get my hands on w/o success.

Thanks, ajax and web parts is making web development fun again..

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 01, 2006 12:53 AM by ScottGu

Hi Steve,

Can you send me an email (scottgu@microsoft.com) with the sample you've tried?  I can then loop someone in from my team to help.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 01, 2006 12:59 AM by ScottGu

Hi Shai,

You shouldn't be seeing any security exceptions.  Can you send me an email with the details and I'll loop you in with someone from the team?

thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 08, 2006 6:20 AM by Vikas Neema

Hi

  Scott,

  I’m using asp.net 2.0 with AJAX 1.0 Beta 2 version for my application.

I’ve installed  AJAX 1.0 Beta 2 with November CTP on my local machine.(not on server)

Everything is running fine on local machine. But when I deploy my aaplication

Web server  an run,it gives me error as “Attempt to access the method failed. “

The following are the dlls which I’ve copied on bin folder on web server.

1) Microsoft.Web.Preview.dll

2) AjaxControlToolkit.dll

3) Microsoft.Web.Extensions.Design.dll

4) Microsoft.Web.Extensions.dll

Thanks & Regards

Vikas Neema

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 08, 2006 9:09 AM by Alan

Scott,

Is there an estimate on the release date of the production version of AJAX 1.0?

Thanks,

Alan

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 08, 2006 10:11 AM by ScottGu

Hi Alan,

We are shooting to ship the release candidate of ASP.NET AJAX 1.0 next week.  We then hope to ship the final release of it within 4 weeks after that.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, December 08, 2006 12:05 PM by Bruno

Hello,

I've upgraded an existing (and working) application from beta 1 to beta 2. Now nothing works: I've a lot of updatepanels, that may be updated when some button has clicked, or when a row is selected on a datagrid, that with beta 1 updated asyncronously the UI, and now raise a postback. Any idea?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Saturday, December 09, 2006 1:28 PM by Hu

I installed AJAX 1.0 beta 2, Nov CTP, and ToolKit.  When I try to crate a very simple website, I got 3 warnings and 24 messages. Such as "The requirePermission attribute is not declared, could not find schema information for the element 'validation'.  It looks like the Web.config file can not talk to "GAC" to get required info.   I saw many  post above have same problem.  Can you tell us how to work around????  Thanks  

# AutocompleteExtender

Monday, December 11, 2006 4:36 AM by Sigurdur Eggertsson

I'm looking for away to send more than the default 2 parameters (prefixText, count) to the AutocompleteExtender. Is there any simple way to do this or will there be an update on thie extender later? Anyone know?

# re: ASP.NET AJAX 1.0 Beta 2 update Panel does not work with ASP.net 2.0 Menu control

Tuesday, December 12, 2006 3:59 AM by Sachin P Thakkar (sachinthakkar90@hotmail.com)

Hi Scott

I've placed a user control (.ascx) under update panel (asp.net ajax 1.0 beta 2.0),

the user control contains a menu control.

however i feel when i click on the Menu links

it is doing postback to the server  i want to avoid it using ajax but it does not seem to work

Please provide a solution

Rgds,

Sachin P Thakkar

Software Engineer

India

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, December 19, 2006 2:13 AM by Jigna

Hi Scott!

I have upgraded my website form ATLAS to AJAX Beta2 following the migration guide. But am facing the 'Sys is undefined' error on pages containing the ScriptManager.

Could you please help me out?

Thnx,

Jigna

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, December 19, 2006 2:08 PM by ScottGu

Hi Jinga,

Usually this means that you don't have the web.config file configured exactly right, or that you might be running into this issue: http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx

Can you check both of these?

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, December 19, 2006 11:56 PM by Jigna

Hi Scott,

I have picked my web.config from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 itself.

Also, I haven't included the <xhtmlConformance> tag.

Regds,

Jigna

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, December 20, 2006 12:49 PM by ScottGu

Hi Jigna,

Are you using either IIS7 or IE 6 SP1 when testing this application?  

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, December 21, 2006 12:26 AM by Jigna

Hi Scott,

I am using Win2003, VS 2005, IIS 6 with IE 6 SP2 for the application.

Regds,

Jigna

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, December 21, 2006 2:36 AM by ScottGu

Hi Jigna,

Can you send me an email with a simple repro of the problem, as well as details on your exact setup?  I'll then loop in someone from the ASP.NET AJAX team to help investigate.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Monday, January 08, 2007 10:18 AM by Karthik J

hi scott,

i got thie below error in AJAX

"Sys.webforms.Pagerequestmanager server  error exception"

please help on this

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, January 10, 2007 10:48 AM by Andrew Paterson

Hi Scott,

I'm literally at the start of my development process and I'm getting the Sys is undefined error, even though all I've done so far is create the website straight from the AJAX template through Visual Studio.

I've noticed IE6 SP1 mentioned which is indeed what I'm using. Any solution that you know of?

# re: ASP.NET AJAX 1.0 Beta 2 Release

Wednesday, January 10, 2007 9:39 PM by Wade H

Hi Eveyone,

Im doing some research for the company i work for in AUS.

For some reason (im not in the loop) but ajax will not work on our hosted trust environment. My question is...does anyone know of documentation which would confirm the reasons why its deactivated? I am really pushing to have this functionality available to customers asap, hopefully while its still in beta.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, January 12, 2007 2:35 AM by ScottGu

Hi Wade,

Unfortunately ASP.NET AJAX needs to be installed by the hoster on the machine in order to have it run in partially trusted scenarios (which is what most hosters run under).

If they don't do this, then you can copy the assembly to the \bin directory of your application - although when you do that it does need to run with full trust.

The final release of ASP.NET AJAX will be shipping a little later this month - at which point we expect hosters to aggressively install it on machines.

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, January 12, 2007 2:55 AM by ScottGu

Hi Andrew,

The issue with Beta2 and the RC is that IE 6 SP1 has problems handling compressed JavaScript files (which ASP.NET AJAX send back by default).

For the final release of ASP.NET AJAX we'll be special casing IE6 SP1 to not compress these files.

In the meantime, you can go into your web.config file and turn off compression for the JavaScript files.  You can do this by changing the "enableCompression" attribute on the <scriptResourceHandler> section in your web.config file:

<scriptResourceHandler enableCompression="true"

       enableCaching="true" />

Hope this helps,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, January 19, 2007 3:07 PM by Kunaal

Hi Scott,

My application has two pages, one with just Ajax controls, which works fine and one with a User Control, that uses the Prototype library amongst other JS files. On the page with the User Control, the script manager fails. The page cannot perform partial rendering. If I strip out the User Control, it works fine.

I'm getting the following errors

'Sys.Res.argumentUndefined' is not an object

'Sys.UI.DomEvent' is not an object

'Sys.Application' is not an object.

I've tried everything that's been suggested on the forums, to no avail. Is there anything that can be done at all?

Regards,

Kunaal

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, January 19, 2007 9:01 PM by ScottGu

Hi Kunaal,

Can you send me a .zip file that contains a simple repro for the problem you are running into?

I can then have someone on the team help investigate and figure out what is wrong.

Thanks,

Scott

# re: ASP.NET AJAX 1.0 Beta 2 Release

Thursday, February 01, 2007 4:40 AM by Yoganand

MissingMethodException: Method not found:

hi i am getting the above error in release mode of my project.

any help?.

thanks in advance.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Friday, February 02, 2007 4:40 PM by Chris Xie

Have you found a solution to the 'Sys.UI.DomEvent' is not an object error?  I'm having the same problem with AJAX 1.0 and user control.  My user control contain controls that emits JS.  How can I work around this issue if a solution is not possible.

# Multiple Request Using ASP.NET AJAX 1.0 Beta 2 Release

Monday, March 05, 2007 6:35 PM by Ravi

Hi Scott,

How do i make call two events from the same page simultaneously using the ajax 1.0.

I tried with two update panel with two button on each of them. if you click on button1 and then click on button 2 it invalidates the button 1 call and executes the button 2 call.

Bottom line when a request is sent and page is waiting for the response to come and in between if another ajax call is made it invalidates the current executing call.

I would appreciate if you can give a solution to it.

Thanks a Million

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, March 06, 2007 9:38 PM by darin

In my experience The Sys.UI.DomEvent obj error is caused when the client has an out dated version of jscript installed.

check the version of jscript.dll and see if it is 5.6.

In my network I had one machine that spit out these errors on my ajax enabled website as well as ajax.asp.net.

I updated the jscript to version 5.6.0.8513 and the my site rendered as it was designed.  5.6 should get installed with IE6, but windows file protection prompts that system files are being replaced and allows the user to keep the old files.  I believe this is what happened to this one machine.

# re: ASP.NET AJAX 1.0 Beta 2 Release

Tuesday, March 06, 2007 10:06 PM by ScottGu

Hi Ravi,

You can't make two simultaneous calls with the UpdatePanel.  

However, you can use client-JavaScript with the ASP.NET AJAX client networking stack and call back to the server (either to a static page method or a web-service webmethod).  Using this later approach will enable you to make two calls in parallel.

Hope this helps,

Scott