Author: Schwimms | Posted on: 7/29/2010 11:04:14 PM | Views : 376

Hi All!
I have a newuzerwizard with 3 steps. Step 1 = Create account, Step 2 = Personal Info, and Step 3 = Bio Information. On the second step (Personal Info) I validate the users address and get its latitude and longitude. I want to make sure that before they go onto step three their address can be geocoded. I have the code that tests the address, I just don't know how to stop the step from going to the next if they input a wrong address. Here is what I have:
If NewUserWizard.ActiveStep.Title = "Bio Information" Then Dim StreetAddress As TextBox = TryCast(PersonalInfo.FindControl("StreetAddress"), TextBox) Dim City As TextBox = CType(PersonalInfo.FindControl("City"), TextBox) Dim State As DropDownList = CType(PersonalInfo.FindControl("State"), DropDownList) Dim ZipCode As TextBox = CType(PersonalInfo.FindControl("ZipCod ...

Go to the complete details ...