G
Guest
Hi,
I am creating a webform in ASP.NET using C#.
I have a drop down list control and 5 textbox controls.
Each textbox control has a required field validator assigned to it.
I have a save button on the form.
When I first load the form and immediately hit the save button the field
validators work automatically, but the save button click event which I haved
put a break point on in the code behind page never fires.
It will fire only after I have done my first drop down list change event
which causes a post back.
I want to be able to have my save button click event execute on click before
a first post back.
How do I circumnavigate this behavior?
thanks
Chris
I am creating a webform in ASP.NET using C#.
I have a drop down list control and 5 textbox controls.
Each textbox control has a required field validator assigned to it.
I have a save button on the form.
When I first load the form and immediately hit the save button the field
validators work automatically, but the save button click event which I haved
put a break point on in the code behind page never fires.
It will fire only after I have done my first drop down list change event
which causes a post back.
I want to be able to have my save button click event execute on click before
a first post back.
How do I circumnavigate this behavior?
thanks
Chris