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

Advertisement
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • August 9th ASP.NET Link-Listing more
  • Updating Component properties in the designer more
  • CS Dev Guide: Add new page or user control to Control Panel more
  • ClientBlocker 1.0 more
  • ASP.NET 2.0 Client Validation Javascript Bug more
  • Collaborative Application Markup Language (CAML) more
  • p&p for smart devices: zero code adaptive UIs more
  • CS Dev Guide: Add new page or user control to Control Panel more
  • Problems ASPX Page IntelliSense in Visual Studio 2005 more
  • Web Parts in WSS 3.0 more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | 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