Skip to content

Instantly share code, notes, and snippets.

@mlehman
Created April 22, 2010 22:26
Show Gist options
  • Save mlehman/375909 to your computer and use it in GitHub Desktop.
Save mlehman/375909 to your computer and use it in GitHub Desktop.
Fluent.ListBoxValidator Example
<%@ Register TagPrefix="fluent" Namespace="Fluent" Assembly="Fluent.ListBoxValidator" %>
...
<asp:ListBox ID="ListBoxEmployees" SelectionMode="Multiple" Runat="server"/>
<fluent:ListBoxValidator
ID="ListBoxValidator1"
Runat="server"
ControlToValidate="ListBoxEmployees"
ErrorMessage="Please select an employee"
Minimum="1" Maximum="1"
/>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment