ASP.NET ItemTemplates, EVAL() and embedding dynamic values into controls

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

Dealing with complex Eval() expressions inside of ItemTemplate or other data containers always makes me do a double take. Here are a few observations and thoughts on how to handle and possibly improve handling of this feature in the future.   So, a typical scenario is embedding controls inside of an item template. The template loops through the datasource and you now want to embed values from the datasource into the child controls of the ItemTemplate.   For example:   <asp:repeater...

Advertisement
Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 3262 | Hits: 311

Similar Posts

  • New Dynamic Data Controls ASP.NET : Nifty, But Not Real World more
  • Working with Dynamical Controls more
  • The power of generics compells you, the power of generics compells you... more
  • Updated files for Dynamic method caller available... more
  • Extending dynamic sorting of objects using lightweight code generation. more
  • Accessing and Updating Data in ASP.NET 2.0: Creating Custom Parameter Controls more
  • Silverlight 2 Beta 1 Controls Available, including Source and Unit Tests more
  • Client Side Templating with jQuery more
  • Preventing dynamic SQL when using dynamic WHERE clause 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