Home » Posts tagged "asp.net" (Page 3)

CMS vs Code It Yourself

trav-064 This post has been percolating in my brain for several weeks now and I think it’s finally at the point where it’s “done.”  Well, see…

The problem area is this.  At what point and under what conditions would you write the code yourself vs. using a content management system?  And if you were to use a content management system, which one should you use and why?

Along the way I’ll tell you what my current choices are, but more importantly, I’ll tell you what my thought process is.  So even if you decide to use different tools than I do, you can ask the same questions to select the tools you have decided to use.

Continue reading “CMS vs Code It Yourself”

Unrecognized Tag Prefix or Device Filter ‘asp’

B01I0001 One of the companies I work for recently took over a project from another vendor.  As we started to maintain the site, we noticed that we could not drag and drop controls onto the page and get any more than a stub of  the control. <asp:hyperlink runat=”server”></hyperlink> is ALL we got when we dropped the hyperlink control onto the designer.

In fact, every ASPX control on the page displayed the error, “Unrecognized tag prefix or device filter ‘asp.’”

What’s up with that?

Thinking that there must be something wrong with our development environment, or at least something wrong with how we have the project configured, I started my search on Google.

Continue reading “Unrecognized Tag Prefix or Device Filter ‘asp’”

ASP.NET Nested TextBox Bug

Well, I learned something a couple of days ago and in the process also found an "Undocumented Feature" in ASP.NET 2.0

First, I learned that you can nest an asp:TextBox inside an asp:Label control and if you then set the associatedcontrolid attribute of the Label control to the id of the TextBox control, the label will render as a label element instead of a span element.  Both are pretty cool and both are not very well known.

Continue reading “ASP.NET Nested TextBox Bug”

Test Sending Email without a Server in ASP.NET

back-041 By now, most people are familiar with the fact that ASP.NET will send mail from the codebehind by simply adding a few lines to your web.config file and adding another few lines of code in the codebehind file.

But it wasn’t until recently that I found that you don’t need to have access to an SMTP server to test your code.

Continue reading “Test Sending Email without a Server in ASP.NET”