Archives

Archives / 2006 / August
  • Unrecognized tag prefix or device filter 'asp'

    This error was bugging me today so I finally went searching for an answer.  I found it here. The short version – if you’re using nested master pages and you’re seeing all of your <asp: … /> tags underlined and complaining with “Unrecognized tag prefix or device filter ‘asp’.” the solution is to keep your nested master page open in Visual Studio.  That’s right – it sounds stupid – but that’s the fix. So, if you have a Page that references a master page called ChildMaster.master which references ParentMaster.master, you should open ChildMaster.master (even if you don’t plan to make any changes to it) … more

  • Unrecognized tag prefix or device filter 'asp'

    This error was bugging me today so I finally went searching for an answer.  I found it here. The short version – if you’re using nested master pages and you’re seeing all of your <asp: … /> tags underlined and complaining with “Unrecognized tag prefix or device filter ‘asp’.” the solution is to keep your nested master page open in Visual Studio.  That’s right – it sounds stupid – but that’s the fix. So, if you have a Page that references a master page called ChildMaster.master which references ParentMaster.master, you should open ChildMaster.master (even if you don’t plan to make any changes to it) … more

  • Passed Green Belt Test Today

    I try not to post too much non-technical stuff on this blog, but this is one of those rare occasions where I’m doing so.  I’ve been training in karate with a club at Kent State University for a while now, probably 5 or 6 years, and have (finally) achieved my green belt this evening.  Normally if one were dedicated to a martial art, they would advance much more quickly than I have, but I have very limited time for training (both in and out of the dojo), which has slowed my pace.  However, maintaining some forward progress is always better than the alternative, even if the speed isn’t what one might otherwise like. My karate style is Isshin-Ryu, and in … more

  • Passed Green Belt Test Today

    I try not to post too much non-technical stuff on this blog, but this is one of those rare occasions where I’m doing so.  I’ve been training in karate with a club at Kent State University for a while now, probably 5 or 6 years, and have (finally) achieved my green belt this evening.  Normally if one were dedicated to a martial art, they would advance much more quickly than I have, but I have very limited time for training (both in and out of the dojo), which has slowed my pace.  However, maintaining some forward progress is always better than the alternative, even if the speed isn’t what one might otherwise like. My karate style is Isshin-Ryu, and in … more

  • Free .NET CMS Plugin ASPAlliance.SimpleCMS Launched

    Last week SimpleCMS was released as a beta.  Please download it and give it a try in your ASP.NET 2.0 application, and post your feedback in the forum. Some background posts:http://aspadvice.com/blogs/ssmith/archive/2006/08/21/HttpModule-Breaks-SubApplications-Problem-Solved.aspxhttp://aspadvice.com/blogs/ssmith/archive/2006/07/19/19797.aspxhttp://aspadvice.com/blogs/name/archive/2006/06/29/19109.aspx Features: Allows creation and editing of virtual pages via a web interface Several ATLAS features included SEO optimized – allows any URL name, title, keyword, description tags Master Page Support Theme Support Rich Editor (FreeTextBox) Plug-In architecture – no code changes … more

  • Free .NET CMS Plugin ASPAlliance.SimpleCMS Launched

    Last week SimpleCMS was released as a beta.  Please download it and give it a try in your ASP.NET 2.0 application, and post your feedback in the forum. Some background posts:http://aspadvice.com/blogs/ssmith/archive/2006/08/21/HttpModule-Breaks-SubApplications-Problem-Solved.aspxhttp://aspadvice.com/blogs/ssmith/archive/2006/07/19/19797.aspxhttp://aspadvice.com/blogs/name/archive/2006/06/29/19109.aspx Features: Allows creation and editing of virtual pages via a web interface Several ATLAS features included SEO optimized – allows any URL name, title, keyword, description tags Master Page Support Theme Support Rich Editor (FreeTextBox) Plug-In architecture – no code changes … more

  • Add Profile Items in CreateUserWizard and Recursive FindControl

    There's an example in Professional ASP.NET 2.0 that shows how to add a few profile items to a CreateUserWizard.  Unfortunately, it doesn't work in certain cases, specifically when the profile item in question is set to allowAnonymous="false".  When that happens, you will receive this error:"This property cannot be set for anonymous users."One fix is to simply set the allowAnonymous flag to true, but if it's not something you want anonymous users to be able to set, that's not ideal.  Another thing that can be tricky is referencing your Textbox (or other web form) controls within the CreateUserWizard.  I'll cover that next.For the … more

  • Add Profile Items in CreateUserWizard and Recursive FindControl

    There's an example in Professional ASP.NET 2.0 that shows how to add a few profile items to a CreateUserWizard.  Unfortunately, it doesn't work in certain cases, specifically when the profile item in question is set to allowAnonymous="false".  When that happens, you will receive this error:"This property cannot be set for anonymous users."One fix is to simply set the allowAnonymous flag to true, but if it's not something you want anonymous users to be able to set, that's not ideal.  Another thing that can be tricky is referencing your Textbox (or other web form) controls within the CreateUserWizard.  I'll cover that next.For the … more

  • Community Server Upgrade

    Yesterday we upgraded AspAdvice (and the other Advice Sites) to Community Server 2.1.  If you find any bugs or things that don't look right, please contact me and let me know and we'll work on getting them fixed.  One of the biggest changes from 2.0 to 2.1 is the implementation of tags rather than categories, and the tag clouds that you'll now see in several places on blogs and blog listings on the site.In addition, since as part of the upgrade our old CAPTCHA control went by the wayside and comment spam was out of control, I finally installed RDOS a few minutes ago (which had been on my TODO list for almost a year).  It took about 5 minutes and the site came right … more

  • Community Server Upgrade

    Yesterday we upgraded AspAdvice (and the other Advice Sites) to Community Server 2.1.  If you find any bugs or things that don't look right, please contact me and let me know and we'll work on getting them fixed.  One of the biggest changes from 2.0 to 2.1 is the implementation of tags rather than categories, and the tag clouds that you'll now see in several places on blogs and blog listings on the site.In addition, since as part of the upgrade our old CAPTCHA control went by the wayside and comment spam was out of control, I finally installed RDOS a few minutes ago (which had been on my TODO list for almost a year).  It took about 5 minutes and the site came right … more

  • HttpModule Breaks Sub-Applications Problem Solved

    Recently I've been working on a number of HttpModule-based plug-in tools for ASP.NET applications, such as the ASPAlliance CacheManager.  The idea being that these kinds of tools can provide added functionality to existing applications without the need for the application to be changed, recompiled, or migrated to some new architecture (as is required with heavier application frameworks like DNN, CS, etc.).  However, one issue with this approach is that, once the HttpModule reference is added to the root application's web.config file, any subfolder that has been set up as an application will fail if the HttpModule is not added to the GAC, or to every sub-application's bin … more

  • HttpModule Breaks Sub-Applications Problem Solved

    Recently I've been working on a number of HttpModule-based plug-in tools for ASP.NET applications, such as the ASPAlliance CacheManager.  The idea being that these kinds of tools can provide added functionality to existing applications without the need for the application to be changed, recompiled, or migrated to some new architecture (as is required with heavier application frameworks like DNN, CS, etc.).  However, one issue with this approach is that, once the HttpModule reference is added to the root application's web.config file, any subfolder that has been set up as an application will fail if the HttpModule is not added to the GAC, or to every sub-application's bin … more

  • ASP.NET 2.0 MVP Hacks and Tips

    I got a copy of WROX's ASP.NET 2.0 MVP Hacks and Tips yesterday and skimmed the TOC and read a few chapters.  I have to say that this is a very good book from my first impression of it, based on the fact that I learned a few new techniques in just the brief amount of time I've spent on it so far.  Since I haven't read the whole thing yet, I can't write up a good formal review, but let me give you the quick notes I took away from it already: In 2.0 configuration you can specify external files for configuration sections.  I knew this.  What I didn't know, and what is very cool for team scenarios, is that those files can be in a parent folder, so that they are not deployed … more

  • ASP.NET 2.0 MVP Hacks and Tips

    I got a copy of WROX's ASP.NET 2.0 MVP Hacks and Tips yesterday and skimmed the TOC and read a few chapters.  I have to say that this is a very good book from my first impression of it, based on the fact that I learned a few new techniques in just the brief amount of time I've spent on it so far.  Since I haven't read the whole thing yet, I can't write up a good formal review, but let me give you the quick notes I took away from it already: In 2.0 configuration you can specify external files for configuration sections.  I knew this.  What I didn't know, and what is very cool for team scenarios, is that those files can be in a parent folder, so that they are not deployed … more

  • Atlas Naming Game

    Ok, Microsoft "Atlas" is now less than six months away, assuming it ships on schedule or with minimal slippage.  That means it's now time to play... Name That Microsoft Product!I'll be your host, and will get the ball rolling.  Note that some of these potential names are serious, and some are less so, but by all means, vote for your favorite by posting in the comments.  Also, some of these I'm listing are my own ideas, and some I'm borrowing from others, but I'm protecting their identities unless they want to claim the names publicly...Also note that Framework and Foundation can pretty much be interchanged at will for most of these names.Potential … more

  • Atlas Naming Game

    Ok, Microsoft "Atlas" is now less than six months away, assuming it ships on schedule or with minimal slippage.  That means it's now time to play... Name That Microsoft Product!I'll be your host, and will get the ball rolling.  Note that some of these potential names are serious, and some are less so, but by all means, vote for your favorite by posting in the comments.  Also, some of these I'm listing are my own ideas, and some I'm borrowing from others, but I'm protecting their identities unless they want to claim the names publicly...Also note that Framework and Foundation can pretty much be interchanged at will for most of these names.Potential … more

  • Oh The Heat in the States...

    Forgive my rant, but it annoys me that everybody in the Midwest and Northeast US is whining and going on about the big heat wave we had this week.  My local newspaper yesterday had, as front page news, the temperatures in Philadelphia, New York City, etc, all of which were in the 90s.  I don’t deny that it’s news, since it is out of the ordinary, and for most folks in the US it’s a whole lot more on their minds than, say, the weather in Tikrit, but I think it would have been nice to add a little perspective: Temperature in Philadelphia: 98 Temperature in New York City: 96 Temperature in Balad, Iraq: 116 Temperature in Baghdad, Iraq: 112 If you’re a soldier … more

  • Lake Quincy Media Site Facelift

    Lake Quincy Media, the advertising network made up exclusively of .NET developer community web sites, has been undergoing a substantial redesign throughout the month of July.  Well, after a lot of work, the new design was launched yesterday.  The new design is, I think, much more professional and attractive than the one I managed to put together earlier this year, which is a credit to the design skills of our full time creative director, Craig.  Have a look and let us know what you think, and if you’re interested in running .NET-centric advertisements on your blog or community site, let us know. more

  • Lake Quincy Media Site Facelift

    Lake Quincy Media, the advertising network made up exclusively of .NET developer community web sites, has been undergoing a substantial redesign throughout the month of July.  Well, after a lot of work, the new design was launched yesterday.  The new design is, I think, much more professional and attractive than the one I managed to put together earlier this year, which is a credit to the design skills of our full time creative director, Craig.  Have a look and let us know what you think, and if you’re interested in running .NET-centric advertisements on your blog or community site, let us know. more

  • ASP.NET Atlas July CTP Now Available

    You can now download theJuly Community Tech Preview of Atlas here.  Some Details: UpdatePanel and ScriptManager: ScriptManager.RegisterControl() takes optional parameter to specify client type to create. Fix for UpdatePanels in Firefox. Drag and Drop: Added public dragStart/dragEnd events to DragDropManager. dragStart fires with dragMode, dataType, and data as eventArgs. dragStop fires with empty eventArgs. style.position of dragVisuals will no longer default to "absolute". DragDropManager do longers disposes dropTargets when unregistering them. FloatingBehavior now unregisters itself on dispose. more

  • ASP.NET Atlas July CTP Now Available

    You can now download theJuly Community Tech Preview of Atlas here.  Some Details: UpdatePanel and ScriptManager: ScriptManager.RegisterControl() takes optional parameter to specify client type to create. Fix for UpdatePanels in Firefox. Drag and Drop: Added public dragStart/dragEnd events to DragDropManager. dragStart fires with dragMode, dataType, and data as eventArgs. dragStop fires with empty eventArgs. style.position of dragVisuals will no longer default to "absolute". DragDropManager do longers disposes dropTargets when unregistering them. FloatingBehavior now unregisters itself on dispose. more