Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

createUserWizard - security question as drop down?

Posted on 2011-03-15
9
Medium Priority
?
614 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
  • 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
Industry Leaders: 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!

 
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 2000 total points
ID: 35153592
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview

927 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