G
Guest
I have a custom server control that renders a Submit button.
The button renders just fine at design and run time.
The button click event is being trapped normally.
My problem : If I add a textbox and a required field validator, my button does not cause either the normal client or server side validation to occur.
Is there a method I must call or an interface I must implement to get my custom control wired up on the Page like a normal Button control. A normal button gets the OnClick Javascript added automatically when rendered if a validation control is no the page. In addition a normal Button control causes the Page.Validate method to run.
Thank you so much for your help,
Karl
The button renders just fine at design and run time.
The button click event is being trapped normally.
My problem : If I add a textbox and a required field validator, my button does not cause either the normal client or server side validation to occur.
Is there a method I must call or an interface I must implement to get my custom control wired up on the Page like a normal Button control. A normal button gets the OnClick Javascript added automatically when rendered if a validation control is no the page. In addition a normal Button control causes the Page.Validate method to run.
Thank you so much for your help,
Karl