asp.net membercontrols Instruction text property in ChangePasswordTemplate

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-03-21T22:25:29Z Indexed on 2010/03/21 22:31 UTC
Read the original article Hit count: 442

Hi, I want to do the following in my page_load:

if (condition)
ChangePasswordControl.InstructionText = "......";

However, I am using a ChangePasswordTemplate which when generated doesn't include an <asp:Literal ID="InstructionText runat="server" /> or similar.

Can anyone suggest how to conditionally include instructions in the template in this context?

Thanks, Chris

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about membership-provider