Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...The only thing a user can change is his passwordThe only thing a user can change is his password
Previous
 
Next
New Post
4/17/2007 5:37 PM
 

And here's the aspx code. Unfortunatelly somethings use portuguese language so please let me know if you need help with the translation:

<%@ Control language="C#" Inherits="Farbeira.Modules.PasswordUpdate.ViewFarbeiraPasswordUpdate" CodeFile="ViewFarbeiraPasswordUpdate.ascx.cs" AutoEventWireup="true"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />

<table>
    <tr>
      <td>Password antiga:</td>
      <td>
          <asp:TextBox ID="txtPasswordAntiga" runat="server"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
              ErrorMessage="Introduza password antiga" ControlToValidate="txtPasswordAntiga"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
      <td>Password nova:</td>
      <td>
          <asp:TextBox ID="txtPasswordNova1" runat="server"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="None"
              ErrorMessage="Introduza nova password" ControlToValidate="txtPasswordNova1"></asp:RequiredFieldValidator>
          <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtPasswordNova1"
              Display="None" ErrorMessage="A password deve conter letras, n&uacute;meros e s&iacute;mbolos"
              OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator></td>
    </tr>
    <tr>
      <td>Confirme password:</td>
      <td>
          <asp:TextBox ID="txtPasswordNova2" runat="server"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="None"
              ErrorMessage="Confirme nova password" ControlToValidate="txtPasswordNova2"></asp:RequiredFieldValidator>
          <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPasswordNova1"
              ControlToValidate="txtPasswordNova2" ErrorMessage="A confirma&ccedil&atilde;o e a nova password devem ser iguais" Display="None"></asp:CompareValidator></td>
    </tr>
    <tr>
        <td></td>
        <td>
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Actualizar password" /></td>
    </tr>
</table>
<br />
<asp:Label ID="lblSucesso" runat="server" Text="Password alterada com sucesso." Visible="False"></asp:Label>
<asp:Label ID="lblFalhanco" runat="server" Text="A altera&ccedil;&atilde;o da password falhou. Por favor tente novamente mais tarde ou contacte o administrador de sistemas."
    Visible="False"></asp:Label>

 
New Post
4/18/2007 5:37 AM
 

This is kool! Thanks for sharing.
I'd love to have the portugese words translated into english so i can understand the code more. Will it be possible to translate the portugese words and sentences into english? If you don't have time, then this is fine.

Regards,

Joe

 
New Post
4/18/2007 3:19 PM
 

Here it is. I hope this helps:

Introduza password antiga
Enter old password

Password nova
new password

A password deve conter letras, números e símbolos
Password must have letters, numbers and symbols

Confirme password
Confirm password

A confirmação e a nova password devem ser iguais
Confirmation and password must match

Actualizar password
Update password

Password alterada com sucesso
Password successfully updated

A alteração da password falhou. Por favor tente novamente mais tarde ou contacte o administrador de sistemas.
Password update failed. Please try again later or contact the system administrator.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...The only thing a user can change is his passwordThe only thing a user can change is his password


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out