Solved

createUserWizard - security question as drop down?

Posted on 2011-03-15
9
604 Views
Last Modified: 2012-05-11
Hi
I've got a create user wizard control and clicked the option so it writes out the HTML

I've changed the QUESTION text box to a dropdownlist and specified a few questions
However, now it's stopped working (it errors and says: Please enter a different security question")

The i dont have anything in the code behind that relates to the creating the user (that i know of)
so i think its all automated

i did make sure i called the DDL the same name as the Text box
what else do i need to do to get it working?
0
Comment
Question by:websss
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 3

Expert Comment

by:exceter
ID: 35136302
Do not change that components, If you want to add more than one question, then just add extra page, and pu controls there, and do whatever you want.
0
 

Author Comment

by:websss
ID: 35136734
Thanks, but it all needs to be on one page (client spec)
0
 

Author Comment

by:websss
ID: 35137073
just re-read your reply
>If you want to add more than one question.....

I dont want to ask more than one question
I've simply converted the existing question text box to a drop down

i just need to know what code to write and where for it to override the default text box and take the selected text value of the dropdown

thanks
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 3

Expert Comment

by:exceter
ID: 35144158
I dont want to ask more than one question
I've simply converted the existing question text box to a drop down
OK, I see. try this :
DropDownList ddl =
(DropDownList)CreateUserWizard1.CreateUserStep.Con tentTemplateContainer.FindControl("Question");
0
 

Author Comment

by:websss
ID: 35144965
Thanks

How do i assign it to the value that gets submitted?
0
 
LVL 3

Expert Comment

by:exceter
ID: 35145166
DropDownList ddl =
(DropDownList)CreateUserWizard1.CreateUserStep.Con tentTemplateContainer.FindControl("Question");

CreateUserWizard1.Question = ddl.SelectedValue;
0
 

Author Comment

by:websss
ID: 35145949
sorry, my fault there

what i meant to say was, what function/sub/void .... do i put that in
0
 
LVL 3

Expert Comment

by:exceter
ID: 35153589
0
 
LVL 3

Accepted Solution

by:
exceter earned 500 total points
ID: 35153592
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question