09 May 2008

how (not) to write a ASP.NET control


<ctl:Image id="companyImage" runat="server" src="/resources/images/CompanyLogo.jpg"/></img>

As you can see the control is broken, it renders a image without closing the opening tag. Now imagine this control is part of a framework and anyone is using it like that, and somebody wants to fix it... :) bonus points for the editor error message

0 comments: