View Single Post
  #8 (permalink)  
Old June 10th, 2015, 06:04 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi again,

I can see two issues with your code:

1. This:

Handles Result.FinishButtonClick, Wizard1.FinishButtonClick

should be:

Handles Wizard1.FinishButtonClick

as the method only handle's the Wizard1's FinishButtonClick event.

2. You're missing an ampersand when concatenating the values. This:

Result.Text &= "<br /> Yore Favorite Language is"
FavoriteLanguage.SelectedValue

should be:

Result.Text &= "<br /> Yore Favorite Language is" &
FavoriteLanguage.SelectedValue

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote