ASP.NET AJAX BUG: $addHandler Can't Attach to Element Inside an IFrame in Internet Explorer

I have an iframe on my page and an html page that’s loaded in it (from the same domain) and an anchor tag is clicked in the iframe I want to execute some code on my page on the client.  In the Initialize method in my client object I call $addHandler and pass in the anchor tag from inside the iframe, ‘click’ (to attach to the onclick of the anchor tag) and my delegate.  I run the code in Firefox.  Everything works great.  I go to Internet Explorer and run it and when I click on the anchor tag inside of the iframe I get an error of “Sys.ArgumentNullException: Value cannot be null. Parameter name: eventObject”.  A quick search turned up this gem of a workaround:

Bug with $addHandler applied to element in an iFrame

I hope the ASP.NET team fixes this in future versions of ASP.NET AJAX, but for now this will work.

Yahoo Messenger for Windows Vista (using WPF) Preview Released

http://on10.net/Blogs/larry/yahoo-messenger-with-wpf-goes-live/

Just installed it and while it’s not feature complete yet and there are some performance issues, overall I really like it!

It kind of makes the Windows Live Messenger team look a little stupid for letting their competition use our technology to make a better looking IM client, doesn’t it?  😉

Definitely check it out!

Facebook Beacon

Ever wanted something more powerful than just a “Share on Facebook” link on your site, but didn’t want to write an entire Facebook app?  Enter Facebook Beacon.  With it, you can add a few lines of code to your site and your users can share actions they did on your site like (bought a product/service, changed their profile, posted a comment, etc) to Facebook so it shows up in their news feed and then travels down the viral highway that is Facebook.

We’re considering integrating Beacon into our community web platform that runs (Channel 9, Channel 10, MIX Online, Channel 8 and TechNet Edge).  Do you think this would get annoying?  Would you like to share what you’re doing on our sites with your friends on Facebook?

FYI, we’re building a Facebook app as well for our sites (and all sites involved in Microsoft Communities), but we think this also adds value too.  Thoughts?

.NET Web Roadmap for 3.5 (ASP.NET, Silverlight, IIS 7)

Scott Guthrie posted some fantastic info on ASP.NET Extensions 3.5 to match up with Visual Studio 2008 and .NET Framework 3.5.

http://weblogs.asp.net/scottgu/archive/2007/11/29/net-web-product-roadmap-asp-net-silverlight-iis7.aspx

Highlights:

  • Silverlight 1.1 is now Silverlight 2.0
  • Silverlight 2.0 will start to get some of the great features that WPF has
  • Some of the ASP.NET AJAX Futures (like the browser history control) will be moved into ASP.NET AJAX
  • IIS 7 will ship early next year
  • There will be new ways to deploy to IIS 7 and do things like versioning and rolling back on single servers and web farms

Great stuff…check it out!