justTryingToCode
Programmer
Hi all experts.
I am new to c# .NET and have a question about submitting a form on a button click event.
I want to post form data to a new page after validating data with a custom validator control. I have everything working except the post part. Here is my code:
protected void btnGo_Click(object sender, EventArgs e)
{
valDateValidator.Enabled = true;
Page.Validate();
if (Page.IsValid)
{
???? Post form data to new page...
}
}
Thank you in advance..
Jon
I am new to c# .NET and have a question about submitting a form on a button click event.
I want to post form data to a new page after validating data with a custom validator control. I have everything working except the post part. Here is my code:
protected void btnGo_Click(object sender, EventArgs e)
{
valDateValidator.Enabled = true;
Page.Validate();
if (Page.IsValid)
{
???? Post form data to new page...
}
}
Thank you in advance..
Jon