December 2007 - Posts

Merry Christmas MVPs!! (+gift inside)
24 December 07 12:03 AM | Laurent Duveau

Are you a Microsoft MVP ?
Are you running Vista ?
Planning to go to the Summit ?

Then download my MVP Global Summit Countdown Gadget for Vista!!
http://gallery.live.com/liveItemDetail.aspx?li=c36fa782-4ab9-4383-aaff-81b1b2a27314&bt=1&pl=1

MVP Global Summit Countdown

This new release supports 3 languages (english, spanish and french) and the flyout window shows latest entries from the MVP Summit event rss.

Enjoy, and Merry Christmas.

Filed under: , , ,
Live Maps 3d: this is really awesome!!
22 December 07 12:57 AM | Laurent Duveau

I can't resist to show another screenshot of Live Maps : Montreal in 3d.

Live Maps 3d

The work done is so unbelievable!!! this is like a picture, but you can move around it, change zoom/rotation and tilt!!

Also check the Traffic view : traffic info has been added for 3 Canadian cities: Vancouver, Toronto, and Montreal.

What's coming next!?

Filed under: ,
How to set ASP.NET controls adapter by code ?
11 December 07 01:05 AM | Laurent Duveau

In a recently job I wanted to package as much as possible common items of the web layer (WebControls, BasePage, HttpHandlers, Js, Css, etc...) in a class library project, so I can share the dll across several ASP.NET apps.

As I use the CSS Friendly Control Adapters to change the asp:menu rendering, I could easily factorize adapters class, css, pictures and Js as embedded resources in the external dll, but I end up with the browser file in App_browsers folder (that maps webcontrols to their adapters).

Good news is you can set adapters by code in the PreInit event of your BasePage, sample for the Menu :

C#:

HttpContext.Current.Request.Browser.Adapters
[typeof(System.Web.UI.WebControls.Menu).AssemblyQualifiedName] =
typeof(YourNameSpace.MenuAdapter).FullName;

VB:

HttpContext.Current.Request.Browser.Adapters
(GetType(System.Web.UI.WebControls.Menu).AssemblyQualifiedName) =
    GetType(YourNameSpace.MenuAdapter).FullName()

Filed under: ,
Expression Blend Service Pack 1 for VS2008
01 December 07 05:11 PM | Laurent Duveau

Expression Blend

The Service Pack 1 for Expression Blend contains several fixes and changes, and also optimize Visual Studio 2008 support.

Download link:
http://www.microsoft.com/expression/products/download.aspx?key=blendsp1