Paste: Formulario
Author: | Raul |
Mode: | asp |
Date: | Fri, 13 May 2011 10:33:28 |
Plain Text |
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="server">
<asp:UpdatePanel ID="udpError" runat="server">
<ContentTemplate>
<div id="pnlError" class="uiBoxRed" runat="server">
<ul id="errores"><li></li></ul>
<asp:BulletedList ID="bllErrores" BulletStyle="NotSet" runat="server" />
<asp:DataList ID="dltErrores" runat="server" RepeatColumns="1">
<ItemTemplate>
<asp:Label ID="lblError" runat="server"></asp:Label>
</ItemTemplate>
</asp:DataList>
</div>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnGuardar" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:Panel ID="pnlSettings" CssClass="settings_panel" runat="server">
<div class="header">
<asp:Label ID="lblOptionPassword" runat="server"></asp:Label>
</div>
<div>
<p>
<asp:Literal ID="ltlOptionPassword" runat="server"></asp:Literal>
</p>
</div>
<table class="uiTableSettings">
<tr>
<td class="label">
<asp:Label ID="lblUsuario" runat="server"></asp:Label>
</td>
<td></td>
<td>
<asp:Label ID="lblUsusarioBD" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="label">
<asp:Label ID="lblNewPassword" runat="server"></asp:Label>
</td>
<td>
<asp:RequiredFieldValidator ID="valRequiredNewPassword"
ControlToValidate="txtNewPassword"
SetFocusOnError="true"
Display="Dynamic"
ValidationGroup="Settings"
Runat="server"/>
<asp:RegularExpressionValidator ID="valRegularNewPassword"
ControlToValidate="txtNewPassword"
SetFocusOnError="true"
Display="Dynamic"
ValidationGroup="Settings"
Runat="server"/>
</td>
<td>
<asp:TextBox ID="txtNewPassword" CssClass="uiTextbox" TextMode="Password" runat="server"></asp:TextBox>
<ajaxToolkit:PasswordStrength
ID="pwsNewPassword"
TargetControlID="txtNewPassword"
StrengthStyles = "pwsCSS1;pwsCSS1;pwsCSS2;pwsCSS3;pwsCSS4"
runat="server" />
</td>
</tr>
<tr>
<td class="label">
<asp:Label ID="lblConfirmarPassword" runat="server"></asp:Label>
</td>
<td>
<asp:CustomValidator ID="valCustomConfirmPassword"
ControlToValidate="txtConfirmPassword"
EnableClientScript ="True"
SetFocusOnError="True"
ValidateEmptyText="True"
Display="Dynamic"
OnServerValidate="ValidarCoherenciaPassword"
ValidationGroup="Settings"
runat="server" />
</td>
<td>
<asp:TextBox ID="txtConfirmPassword" CssClass="uiTextbox" TextMode="Password" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="3" class="buttons">
</td>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
</table>
<asp:UpdatePanel ID="udpGuardar" runat="server">
<ContentTemplate>
<label class="uiButton">
<asp:Button ID="btnGuardar" ValidationGroup="Settings" runat="server" />
</label>
<br /><br />
<asp:Image ID="imgStatus"
CssClass="vertical_middle"
ImageUrl="/cp/images/nothing.png"
GenerateEmptyAlternateText="true"
runat="server" />
<asp:Label ID="lblStatus" runat="server"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</asp:Content>
New Annotation