Taming DataList With a Custom Adapter

Posted by: AspNetResources.com articles, news and updates, on 01 Nov 2007 | View original | Bookmarked: 0 time(s)

Suppose you want to extend a DataList and have it put out a div for each row. The RepeatLayout property can be either Flow (“Items are displayed without a table structure”) or Table (“Items are displayed in a table”). Since we want divs, we’re after RepeatLayout = RepeatLayout.Flow. Not so fast, though. This control isn’t that easy to extend. What you get is a <span> which wraps the rest of the markup. More so, <div> rows are separated with superfluous...

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: DataGrid | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1444 | Hits: 138

Similar Posts

  • Designer Support for One-Way navigations in Entity Framework 4 more
  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • Free software for you! WebsiteSpark let the mountain go to Microsoft instead. more
  • Customizing the SharePoint ECB with Javascript, Part 3 more
  • Why VBA Still Makes Sense more
  • Customizing the SharePoint ECB with Javascript, Part 1 more
  • Microsoft StreamInsight and BizTalk Server - Preliminary Thoughts more
  • Ruminations on Multi-Tenant Data Architectures more
  • WPF Release History : Q2 2009 (version 2009.2.701) more
  • Exposing Custom WCF Headers through WCF Behaviors - 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