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
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 3396 | Hits: 313

Similar Posts

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