October 2006 - Posts
It looks like you can "schedule" a post to be posted at sometime in the future by setting its post date/time to that future time. The post doesn't seem to show up until after that date/time. I like it....................
The new UpdatePanel supports the Section 508 standard. This is a great improvement over the previous CTP. As a result, users that access an ASP.NET application through a screen reader will be able to get the updated sections of page. Previous builds of the UpdatePanel did not work properly with screen readers. While this is a great step forward, this is not the be-all, end-all with regards to accessibility and the UpdatePanel. One question that never seems to be answered is how is a screenreader user notified that something has changed on the screen? How does a user know that a new grid with data in it is being displayed?
Originally pulled from: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/431.aspx
Originally pulled from: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/432.aspx
To minimize the size of script, make sure that you turn off partial rendering(UpdatePanel support) if it is not needed. This means setting the EnablePartialRendering property to false. This can save significant script being sent to the browser.
I have also been setting the ScriptMode to release to send down the minimum amount of script with no wasted space in the code. This can be helpful if you want to experiment, otherwise, you probably want to leave it set to Auto.
If you suggest some other things, add them in as a comment.
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:
MethodName(int p1, string p2, bool p3) in C# with a Class of ClassName, the javascript calling sequence would be
ClassName.MethodName(p1, p2, p3, OnComplete[, OnFailure[, UserContext]]);
Originally pulled from: http://morewally.com/cs/blogs/wallym/archive/2006/10/20/429.aspx
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. |
If you are going to call your web services, you will need to add two new attributes to your web service classes. These are: [ScriptService] // This attribute must be on your web services anyway. [GenerateScriptType(typeof(ComplexDataType))] // needed if you are going to pass a complex data type Where ComplexDataType is the type of data that you will transfer. Using the Atlas Example from their site, the example would be [GenerateScriptType(typeof(Animal))] If you don’t add the script service attribute, you might get an error like this: 
|
Pulled from:
http://morewally.com/cs/blogs/wallym/archive/2006/10/20/426.aspx
http://morewally.com/cs/blogs/wallym/archive/2006/10/20/428.aspx
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
http://ajax.asp.net/default.aspx?tabid=47&subtabid=471
The new bits are out, the new bits are out (as an image of Steve Martin runs through my head)
This is the first release where MS has a push towards an actual release. As a result, this is the first release that is in the final "format." The previous CTP was one big glob of stuff. This release is similar in concept to what we will see when the product ships. There are three downloads of interest:
Yes, I have found this somewhat confusing. Can you imagine trying to explain to an editor that MS will release an RTM package along with a CTP package?
devLink in Nashville on Friday, October 13 was a really good event. John Kellar and the other folks put on a really good event. Some of the people that helped were:
- Tommy Norman
- John Baker
- Joe Chafatelli
- Amy Boegh
The quality of speakers was really good. Marcus Eggar did the Keynote. Bill Vaughn. Billy Hollis, Jon Box, Ron Condiff, Eric Sink, Ken Getz, and many others were there.
Here are some of the pics from the event: http://aspnetpodcast.com/CS11/photos/nashville_october_2006_-_devlink/default.aspx
URL: http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2006/10/11/647.aspx
This video (screencast) for the podcast is on the subject of the Basics of Building Sql Server 2005 CLR Objects
The WMV and MP4 (for video iPod users) files are in the feed.
The devLink conference will be on Friday, October 13 in Nashville. The web site for the conference is
http://www.devlink.net/. It is no cost for attendees. It will be a great opportunity to meet and network with other developers. I will be doing a talk on the Microsoft AJAX Libraries (formerly codenamed Atlas) and Sql Server CLR Objects in Sql server 2005. You will want to make time to attend this as there are many nationally recognized speakers that will be at there.
If you are unable to attend the event, you can get some of the material I have done at:
Basics of the Microsoft AJAX Libraries: http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2006/09/11/620.aspx
Roles and Authentication with the Microsoft AJAX Libraries: http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2006/08/11/493.aspx
Basics of the UpdatePanel: http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2006/07/31/363.aspx
I have planned two additional videos for the ASP.NET Podcast that may be of interest to you. These are Sql Server CLR Objects and Building Section 508 Compliant ASP.NET Applications. They will be done and posted at http://www.aspnetpodcast.com over the next couple of weeks. Both videos are completed.
Wally
More Posts
« Previous page -
Next page »