Out, damned space

Posted by: mikes web log, on 09 Feb 2010 | View original | Bookmarked: 0 time(s)

The other day I was doing something where I wanted to display some data as a comma-delimited list, like so:a, b, c, dThis seemed like a job for the Repeater control. So I created the markup for the control and included a separator template, like this:<asp:Repeater runat="server" ID="Repeater1" DataSourceID="LinqDataSource3" > <ItemTemplate> <asp:Label runat="server" ID="labelCategory" Text='<%# Eval("Category") %>'> </asp:Label> </ItemTemplate> <SeparatorTemplate>,...

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: 1337 | Hits: 23

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