Scott Hanselman

Adding Custom UserControls to DasBlog

July 19, '05 Comments [1] Posted in ASP.NET | DasBlog | TechEd | Speaking
Sponsored By

Even though the soon-to-come DasBlog 1.8 will include support for Custom Macros, you CAN get custom functionality now with this existing macro:

<%newtelligence.aspnetcontrol("TechEdBloggersFeed.ascx")%>

This will load the specified ASCX control into the page at this location. The code-behind can be in another (non-DasBlog) assembly.

This won't give you access to the DasBlog DataService, that's what the new Custom Macro support does. Still, pretty slick, and a good reminder from Michael Earls.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Tuesday, July 19, 2005 6:20:10 PM UTC
How hard would it be to choose skins based on browser? I hacked justhtml to make my blog look OK on mobile devices, but I'd really rather have a full-functioned skin for normal desktops and the stripper skin for mobile phones.
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.