日期:2014-05-17 浏览次数:20443 次
function ChangePwd() { window.showModalDialog('../Account/ChangePassWord', '', 'dialogWidth:650px;dialogHeight:340px;dialogTop:' + new String((screen.height - 420) / 2) + 'px;dialogLeft:' + new String((screen.width - 650) / 2) + 'px;resizable:no;status:no;scroll:no;help:no;unadorned:yes;'); }
@Html.BeginForm("ChangePassWord","Account", FormMethod.Post) <table width="100%" border="0px" cellspacing="0px" cellpadding="0px"> <tr> <td width="20%" height="30px" align="right" bgcolor="#f2f2f2" class="left_txt2"> 用户名: </td> <td width="3%" bgcolor="#f2f2f2"> </td> <td width="32%" height="30px" bgcolor="#f2f2f2"> @Html.TextBoxFor(m => m.UserName, new { name = "txt_username", size = "20",@readonly="readonly" }) </td> <td width="45%" height="30px" bgcolor="#f2f2f2" class="left_txt"> 准备修改密码的所属帐号 </td> </tr> <tr> <td height="30px" align="right" class="left_txt2"> 当前密码: </td> <td> </td> <td height="30px"> @Html.TextBoxFor(m => m.OldPassword, new { name = "txt_oldpassword", size="20" }) </td> <td height="30px" class="left_txt"> 当前密码 <span style=" font-size:12px; color:Red;">@Html.ValidationMessageFor(m => m.OldPassword)</span> </td> </tr> <tr> <td height="30px" align="right" bgcolor="#f2f2f2" class="left_txt2"> 新密码: </td> <td bgcolor="#f2f2f2">