How To: Make Tab control panels load “on-demand”

Several people have asked about how to make the contents of their tabs load when the user first clicks them, thereby reducing initial page size. I can think of several ways to do this with varying levels of complexity, but here’s away you can do right now with minimal hacking. We’ll think about how to build this in. But for now… Basically we can do this with UpdatePanels. What we’ll do is: Add an UpdatePanel inside each TabPanel Add a hidden button to trigger that update panel Add a Panel with Visible=”false” that has the content we want to load inside of it (Visible false prevents it from rendering at all) Write some JavaScript to trigger that button. Let’s get started. First, we just create an empty AJAX Enabled project and drop an AjaxControlToolkit…(read more)

Interview posted on

The website is called How Software Is Built , and it’s an investigation of the similarities and differences of closed-source* versus open-source delivery models and I’ve been reading it for a while. I always learn something from each of the people that they interview. The project was “commissioned” by folks here at MS, but if you want details, click here . A month or two ago I got a request from a group of folks to talk about software developement methodologies here at Microsoft, specifically how we relate to Open Source, etc. It was kind of unexpected (what? who? me?) but it was a fun conversation, that just got posted today. Check it out . I’d quote from it but it feels really weird quoting myself on my blog. You’ll just have to read it. Read…(read more)

Apple releases Safari for Windows

Huh, interesting. Seems like I heard some rumors about this, but I didn’t see that one coming. Honestly, this is the best news I’ve heard all week (okay, fine, it’s noon on Monday). We’ve got a couple of Macs here on site over a VPC type setup but using them is still a bit of a pain – you have to prop to IIS, log into the machine, etc. Being able to do some level of smoke testing right from the desktop will make this a lot easier. That is, of course, as long as the Mac and Windows Safari continue to act the same. Like iTunes, Safari is styles like a Mac window, so it’s a little odd to see it running on the desktop with all the Vista-themed stuff. But right a way you can pick out the distinctive way that it does it’s font rendering. Yup, looks…(read more)

Slides and Demos for MIX Toolkit Talk

Had a great time at my MIX talk today – I think it went well! Here’s the slides & demos! Read More……(read more)

MIX07 off to a great start

I’ve been quiet again for a while, mostly because my team has been heads-down for a few weeks working on a demo for ScottGu’s MIX keynote, and today it went off without a hitch. Silverlight is an absolutely amazing platform, and I’m not just saying that because it’s coming out of MS. The whole story – from designer tools, to developer tools, to platform – is just fantastic and has a great feel to it. It’s one of those times when you’ve got the right pieces floating around (.NET, WPF, the Expression Suite) and you tie them together into something that’s bigger than the sum of it’s parts. Mac support, FireFox support, cross platform debugging, light auto-install, it’s all there. My team has been working on the Airline Demo that Scott showed today…(read more)

Submit your Toolkit fixes with the new Toolkit Patch Utility!

One of the big challenges for the Toolkit has been how to get the community more involved. The way CodePlex works, we only have a limited number of contributors that have checkin and source control rights (CodePlex is aware of this issue and working on a solution). What this means is that there isn’t an easy way for general community members to give us fixes for the issues they encounter. Well – Ted & David (two Toolkit devs) crafted a great solution to this problem, now available as a beta. It’s a Windows Forms app deployed via ClickOnce so it’s a snap to install and use. Just run the tool to pick up source (via the source download on CodePlex), the make your changes. The tool diffs your changes and creates a patch zip file, which you can…(read more)

New Toolkit Release – The Hits Just Keep On Comin’!

Last night we released our 10301 Toolkit package. David Anson already wrote up a great post describing what’s in there, but I thought I’d highlight some of the great stuff the team has done. We do almost all of our prioritization based purely on customer feedback from CodePlex Issue Tracker and the Forums, and it is really great to be able to turn things around this quickly. We pay a lot of attention to the issue voting on CodePlex. We added two new components: ListSearch and SlideShow . In addition we now have localization support, theming support, and (finally!) a built-in mechanism for removing comments and whitespace from the JavaScript files, which results in quite a bit smaller download sizes for the AJAX pages. This is an issue that I’ve…(read more)

Cross browser scripting – better but still tough.

Yes, it’s still painful But not as bad as it used to be. Damien, one of our Toolkit contiributors has written a great little article documenting some of his experiences getting his ListSearchExtender to work cross-browser . Good times! One thing to point out is that, like anything, most of these issues are tough when you first encounter them but you quickly adapt. As you learn some of the coding practices he calls out, and start using them without thinking about it, the easier it is to write cross-browser code. Read More……(read more)

ASP.NET AJAX Extensions 1.0 Released!

It’s done! You can download the RTM version of the ASP.NET AJAX bits here , and the matching Toolkit bits here . The ASP.NET AJAX project has been a lot of fun to be involved and it’s great to have it full released so people can start to take advantage of it on all their sites. It’s also been very intersting to see how the symbiosis between Microsoft side of the project (ASP.NET AJAX) and the community developed part (the Toolkit) has evolved. It’s a powerful thing. The Toolkit team has been very busy, since October or so, just keeping up with the ASP.NET AJAX releases. This release we managed to do more than just keep in check – we finally got some new controls into the project along with 73 bug fixes. We spent a lot of time looking at all…(read more)

Wrapping up 2006

Well, 2006 is pretty much in the bag at this point. Tomorrow will be my last day here in the office for the year. Microsoft empties out quickly this time of year as people start getting to the point where they need to take vacation or lose it at the end of the year (we can only carry-over a certain amount), which for me basically happens at EOD today. Wow, hard to believe this will the 10th time I’ve been around Microsoft for the holidays (come to think of it, I think for my first time I was actually at Microsoft for the holidays…) The experience of building and managing this project has taken a direction I really never expected. My original vision for this team was to do smallish projects every 3-6 months, to involve the community, and to…(read more)

looking for dynamic java -> XML and XML -> java binding?

My development team is looking to automate some of the XML stuff we deal with. Generally, we aregetting XML schemas that we can not control and