现在用ajaxpro写了一个检测用户是否已经存在的例子
在你的Register面当中加入<input type="text" id="txtusername"/><div id="userNameIsRepeat();">检测用户</div>
下面是Register.aspx.cs里的代码.