You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OboutSuite/AJAXPage/aspnet_ServerValidator.aspx

16 lines
458 B

<%@ Page Language="C#" ASPCOMPAT="TRUE" Debug="true" Inherits="OboutInc.oboutAJAXPage"%>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Text.RegularExpressions" %>
<script language="C#" runat="server">
public Hashtable unique(string elementValue, string elementID)
{
bool valid = true;
ArrayList listNames = new ArrayList();
listNames.Add("john");
listNames.Add("david");
listNames.Add("tim");
listNames.Add("sheldon");