Return to Snippet

Revision: 31582
at September 9, 2010 04:06 by housecor


Initial Code
protected void AuthenticateUser(object source, ServerValidateEventArgs args)
		{
			Authentication auth = new Authentication();
			args.IsValid = auth.AuthenticateUser(txtUsername.Text, txtPassword.Text);
			if (args.IsValid) Response.Redirect("~/Default.aspx");
		}

Initial URL

                                

Initial Description

                                

Initial Title
Custom Validation method signature

Initial Tags

                                

Initial Language
C#