I have an ASP.NET web form page, which includes a "search" include file.
The search include file consists of a textbox, dropdownlist, and submit
button. Both the textbox and dropdownlist have their respective
RequiredFieldValidation controls that ensure that when the user clicks the
search button, the textbox and ddl are properly completed.
The problem surfaces when this include is inserted in a web form page, that
contains it's own submit button and input controls. When the i attempt to
submit this latter form, the validation controls in the search include also
fire.
Is there a way to "group" which controls are to be validated based on which
submit button is clicked? Or, is there a fairly "simple" work around?
Thanks,