D
Dan Sikorsky
Here's a working solution:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Page.IsPostBack Then
' Keep the password during postbacks.
txtPassword1.Attributes.Add("Value", txtPassword1.Text)
txtPassword2.Attributes.Add("Value", txtPassword2.Text)
End if
End Sub
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Page.IsPostBack Then
' Keep the password during postbacks.
txtPassword1.Attributes.Add("Value", txtPassword1.Text)
txtPassword2.Attributes.Add("Value", txtPassword2.Text)
End if
End Sub