Custom Control Block elements in the ASP.NET Designer

Posted by: Rick Strahls WebLog, on 22 Aug 2006 | View original | Bookmarked: 0 time(s)

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...

Advertisement
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2120 | Hits: 516

Similar Posts

  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • MVC or Web Forms? A Dying Question more
  • Q3 2009 Beta released for Telerik RadControls for Silverlight/WPF more
  • Introducing RadScrollablePanel for Windows Forms more
  • Designer v Xaml v Code more
  • Designer Support for One-Way navigations in Entity Framework 4 more
  • Telerik Releases New Controls for Silverlight 3 and WPF more
  • Q3 2009 Beta released for Telerik RadControls for Silverlight/WPF more
  • Why VBA Still Makes Sense more
  • Customizing the SharePoint ECB with Javascript, Part 3 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD