Pimpin' Validation Summary With CSS

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

Without any styling applied, ValidationSummary renders as a boring list with error messages. However, it’s easy to pretty it up with some CSS since it’s nothing more than a div with an unordered list inside. I pretty much always put a validation summary in a master page and assign it a class: <asp:ValidationSummary runat="server" DisplayMode="BulletList" CssClass="errors" /> Next, I’ll put it in a box with a red border an a humorous picture, plenty of which you...

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

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