Ajax实现登陆界面无刷新登陆很急
要求用Ajax控件实现,请问需要添加哪个控件在什么部位,半桶水菜鸟求助啊.
<form id= "PostForm " runat= "server " >
<table width= "100% " border= "0 " cellpadding= "2 " cellspacing= "0 " align= "center " style= "height: 256px ">
<tr>
<td rowspan= "3 " align= "center " valign= "middle " style= "width: 35% "> <br/> <br/> <img src= "./skins/2004/images/border_login/mainpic.jpg " alt = " "/> </td>
<td colspan= "3 " valign= "top "> <span style= "padding-top:1px; "> <img src= "./skins/2004/images/login_logo.jpg " alt = " "/> </span> </td>
</tr>
<tr>
<td colspan= "3 " valign= "top " style= "height: 130px ">
<table width= "80% " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr valign= "top ">
td colspan= "2 " height= "15 "> <font style= "font-size:11pt " color= "#7685A2 "> <strong> 用户登陆 <br /> <br />
</strong> </font>
</td>
</tr>
<tr>
<td width= "28% " height= "25 "> 用户名: </td>
<td width= "72% "> <input type= "text " name= "txtUserName " class= "smallInput " cTitle= "用户名 " cType= "loginUser " allowEmpty= "false " size= "25 " id= "txtUserName " runat= "server " maxlength= "20 " tabindex= "1 " onkeydown= "keyDown(); "/> </td>
</tr>
<tr>
<td height= "25 "> 密 码: </td>
<td> <input type= "Password " name= "txtPassword " class= "smallInput " size= "25 " cTitle= "密码 " cType= "pwd " allowEmpty= "false " id= "txtPassword " runat= "server " tabindex= "2 " maxlength= "20 " onkeydown = "keyDown(); "/> </td>
</tr>
</table>
------解决方案--------------------
添加的东西不是三言两语说的清的,就是把这个问题给你解释清了,我估计你只要还要发5个以上的帖子问其他内容,什么web.config的配置,部署发布。。。一步步来吧,给你个官方视频地址(附带示例源代码)
http://www.asp.net/learn/videos/default.aspx?tabid=63#ajax
[解决办法]
http://www.cnblogs.com/symjie520/archive/2007/04/17/716571.html
[解决办法]
Ajax还是用js框架(prototype.js)实现比较好~
个人观点
[解决办法]
updatePanle与某些控件一起使用有问题,还是用javascript实现比较好
[解决办法]
用控件不是很好,不是很灵活
自己写就不一样了