?
Solved

How to populate textboxes in asp wizard step two with data from database based on userid entered in step 1

Posted on 2009-04-03
2
Medium Priority
?
194 Views
Last Modified: 2013-11-07
I am using the asp wizard control to have a user enter their userid then goto step 2 here the user will have to answer two security questions. I believe I know how to verify the answers. What I need to understand is how to populate the textboxes in step two with data from a database table with the security questions for this user. Once this is done and verified the user is sent to the last step to reset their password. Can anyone show me an example of this or how this can be done. Thanks.
0
Comment
Question by:woodje
[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
  • 2
2 Comments
 
LVL 41

Expert Comment

by:guru_sami
ID: 24063935
You can do that in OnNextButtonClick Event handler
1: Get the ActiveStepIndex ...see if it is your second step
if yes...then fetch the info from the DB and populate the two Textboxes

The key is OnNextButtonClick
e.g.
http://www.beansoftware.com/ASP.NET-Tutorials/Wizard-Control-ASP.Net-2.0.aspx
http://www.4guysfromrolla.com/articles/061406-1.aspx
0
 
LVL 41

Accepted Solution

by:
guru_sami earned 2000 total points
ID: 24063971
or you can use OnActiveStepChange event handler as well

Check here: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/standard/wizard.aspx
0

Featured Post

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

800 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