Click here to Skip to main content
15,893,904 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Project Code in Asp.net Pin
R. Giskard Reventlov26-Jul-11 0:11
R. Giskard Reventlov26-Jul-11 0:11 
AnswerRe: Project Code in Asp.net Pin
Not Active26-Jul-11 14:03
mentorNot Active26-Jul-11 14:03 
QuestionHow to identify a particular Web site is not active Pin
Gali197825-Jul-11 7:53
Gali197825-Jul-11 7:53 
AnswerRe: How to identify a particular Web site is not active Pin
R. Giskard Reventlov25-Jul-11 8:03
R. Giskard Reventlov25-Jul-11 8:03 
QuestionHow can Interchange the Language of Web? Pin
Naseem Alam Ansari25-Jul-11 4:12
Naseem Alam Ansari25-Jul-11 4:12 
AnswerRe: How can Interchange the Language of Web? Pin
Blue_Boy25-Jul-11 4:25
Blue_Boy25-Jul-11 4:25 
AnswerRe: How can Interchange the Language of Web? Pin
Dalek Dave27-Jul-11 23:04
professionalDalek Dave27-Jul-11 23:04 
QuestionMessage to user when email not unique? Pin
kbalias25-Jul-11 1:38
kbalias25-Jul-11 1:38 
Hi
I am using Visual Web Developer 2010 Express (with C# as code-behind) to develop a website.
I have created a custom MembershipProvider and I have specified that in the web.config that requiresUniqueEmail="true".

In the CreateUser() method I check whether the email that the new user has entered is unique and the code works. How do I then display a message to the user in the CreateUserWizard if the email he has entered is not unique?
I thought I could reference the CreateUserWizard in the CreateUser() method, but the following does not work:
Label labelDuplicateEmail = (Label)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("LabelDuplicateEmail");
labelDuplicateEmail.Text = "Email already exists in the database.";


All help will be appreciated.

Kobus
AnswerRe: Message to user when email not unique? Pin
kbalias25-Jul-11 2:09
kbalias25-Jul-11 2:09 
Questionjavascript Pin
srinu.aadi24-Jul-11 23:03
srinu.aadi24-Jul-11 23:03 
AnswerRe: javascript [modified] Pin
R. Giskard Reventlov24-Jul-11 23:14
R. Giskard Reventlov24-Jul-11 23:14 
QuestionExam Room Allocation Pin
Satish_S24-Jul-11 20:50
Satish_S24-Jul-11 20:50 
AnswerRe: Exam Room Allocation Pin
Blue_Boy24-Jul-11 21:42
Blue_Boy24-Jul-11 21:42 
GeneralRe: Exam Room Allocation Pin
Satish_S24-Jul-11 22:46
Satish_S24-Jul-11 22:46 
AnswerRe: Exam Room Allocation Pin
Richard MacCutchan24-Jul-11 22:56
mveRichard MacCutchan24-Jul-11 22:56 
AnswerRe: Exam Room Allocation Pin
David Mujica25-Jul-11 2:48
David Mujica25-Jul-11 2:48 
Questionlogistical question... Pin
l a u r e n22-Jul-11 0:18
l a u r e n22-Jul-11 0:18 
AnswerRe: logistical question... Pin
Pete O'Hanlon22-Jul-11 0:28
mvePete O'Hanlon22-Jul-11 0:28 
GeneralRe: logistical question... Pin
l a u r e n22-Jul-11 0:46
l a u r e n22-Jul-11 0:46 
GeneralMultiple Projects, one Solution Pin
David Mujica22-Jul-11 2:45
David Mujica22-Jul-11 2:45 
GeneralRe: Multiple Projects, one Solution Pin
l a u r e n22-Jul-11 3:38
l a u r e n22-Jul-11 3:38 
GeneralRe: logistical question... Pin
Any_India22-Jul-11 8:14
Any_India22-Jul-11 8:14 
AnswerRe: logistical question... Pin
Reiss22-Jul-11 4:30
professionalReiss22-Jul-11 4:30 
GeneralRe: logistical question... Pin
l a u r e n22-Jul-11 5:29
l a u r e n22-Jul-11 5:29 
GeneralRe: logistical question... Pin
Pete O'Hanlon22-Jul-11 10:05
mvePete O'Hanlon22-Jul-11 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.