yeah, thank you. That problem is solved.
right now I'm twisting my head with another PaswordRecovery problem;
If I click on the submit button without having entered a username, no error
message is displayed.
I thought the error should be displayed in the FailureText label, but it
isn't. The only thing displayed by the RequiredFieldValidator is that "*"
<asp:TableRow>
<asp:TableCell>Brukernavn:</asp:TableCell>
<asp:TableCell><asp:TextBox ID="UserName"
runat="server"></asp:TextBox></asp:TableCell>
<asp:TableCell Width="10" >
<asp:RequiredFieldValidator ID="valRequireUsername" SetFocusOnError="true"
Display="Dynamic" ControlToValidate="UserName" runat="server"
ErrorMessage="Brukernavn er påkrevd" ValidationGroup="pwdRecovery"
>*</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ColumnSpan="2" HorizontalAlign="Right">
<asp:Label ID="FailureText" runat="server"
EnableViewState="false"></asp:Label>
<asp:ImageButton ID="SubmitButton" ImageUrl="~/Images/Go.gif"
CommandName="Submit" ValidationGroup="pwdRecovery" runat="server" />
</asp:TableCell>
</asp:TableRow>
any suggetions?