Contents tagged with Atlas
-
Minimizing the size of Script - Microsoft AJAX Library and ASP.NET 2.0 AJAX Extensions
Originally pulled from: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/432.aspx
-
Web Service calling – Microsoft AJAX Library and ASP.NET 2.0 AJAX Extensions
The calling parameters for calling a web service have changes somewhat in the new build. Assuming that a web service has the calling signature of:
-
Setting up a Web Service with the new Atlas Bits - Microsoft AJAX Library and ASP.NET 2.0 Ajax Extensions
To call a web service through the Microsoft AJAX Library, you will need to add the Microsoft.Web.Script.Services namespace to the using/import statements for your web service, unless you would like to add the complete name to the attributes. This is a change from the previous CTPs. I had liked that there was no code changes that needed to be done for the web services in the previous CTPs. Now, I have to add some attributes to my web service class.
The $ shortcut has been changed to $get with Atlas Beta 1
If you have downloaded the Atlas beta 1 bits, you have probably noticed that the $ shortcut has been changed to $get. If you want a list of shortcuts, you can open up the MicrosoftAjax.js file and take a look, or you can check out the list I have on my personal blog at: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/433.aspx
New Refactored Atlas Bits
devLink on Friday, October 13 in Nashville, TN
AJAX interaction with a Screen Reader for Section 508 users
It surely would be nice if there was some type of event or notification mechanism that an AJAX library could raise / fire / set that would cause a screen reader to notify a user that an update has occurred to part of the screen. Perhaps this could be accomplished through some type of DOM "event" or something similar. Ideally, the user would like to know specifically what was updated. I hope that everyone could get together on this and solve the problem for the screen reader / Section 508 users.
Does your browser support the UpdatePanel? Test it programmatically. Get IE, Firefox, and Opera to work with the UpdatePanel.
Original post: http://morewally.com/cs/blogs/wallym/archive/2006/09/24/371.aspx
Programmatically adding triggers to an UpdatePanel - Microsoft AJAX Library and ASP.NET 2.0 AJAX Extensions
If you want to add a control to fire the UpdatePanel, you have to add the trigger. You add this through the ScriptManager control. The method is .RegisterAsyncPostBackControl(ControlName);
Microsoft AJAX Library (Atlas) - Sys.StringBuilder appendLine(value)
Two things to note that tripped me up with the appendLine() method of the Sys.StringBuilder in the Microsoft AJAX Library.
- appendLine() will append a \r\n AFTER the line that is added, not create a new line (smack as my hand slaps my forehead).
- appendLine() does not currently work on an HTML page. This is because of the \r\n, which don't work on an html page.