Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you add links to a ValidationSummary?

Status
Not open for further replies.

Cineno

Programmer
Jul 24, 2006
142
US
I have a login page that has a "if you forgot your password, click here" link button that opens a ModalPopup for the user to retrieve their password.

What I would like to do is when a user enters an invalid login, the ValidationSummary tells them it's invalid, and also contains another "if you forgot your password, click here" link for the ModalPopup to be accessed this way as well.

Is there a way for me to add this functionality to the ValidationSummary?

Thanks for any help!
 
I've never tried it, but you can try doing
Code:
   dim hl as new hyperlink
   hl.navigateUrl = "your path"
   ValidationSummaryControl.Controls.Add(hl)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top