Custom Control Block elements in the ASP.NET Designer
Posted by: Rick Strahls WebLog,
on 22 Aug 2006 |
View original
Getting an ASP.NET control to display properly in the designer can be a bit of the chore because the designer doesn’t do real well when it comes to rendering controls based on block tags, like <div> or <table>. The VS.NET designer renders controls into a block that appears to be a self-sizing <span> tag or equivalent, so if you have block content the designer usually mucks up the display.
For example, here’s a control that renders as a DIV in the designer:
The...