Understanding how <% %> expressions render and why Controls.Add() doesn't work

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

I’ve been trying to understand the problem of the inability to use Controls.Add()  when <% %> tags are present in a container for some time and today as I’m working on this page I finally understand why this is a problem while I’m looking at the innards of the generated classes that ASP.NET 2.0 creates dynamically from the ASPX markup…   When a container contains static text or plain control definitions the entire control parsing is set up by using AddParseObject()...

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

Similar Posts

  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • How to display data from different tables using one data source more
  • Improving JavaScript Skills more
  • Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness more
  • format-DateTime with XSL more
  • Telerik Extensions for ASP.NET MVC Troubleshooting more
  • Formatting Text in RadControls for WinForms Q3 2009 more
  • Convert Web.UI ASP.NET Grid into a data entry spreadsheet more
  • ClientIDMode in ASP.NET 4.0 more
  • Ambiguous References in DefaultWsdlHelpGenerator.aspx 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