What is the correct why of doing validation? Why the the form doesn't validated if Response.Redirect code sit under the command button?
answer:
if(Page.IsValid){
Response.Redirect("abc.aspx");
}
Otherwise, the page do not have chance to be validated.
No comments:
Post a Comment