validationgroup

How to validate against Multiple validation groups?

I have two validation groups: parent and child I have an add button that needs to only validate the child validation group which is easily done. The save button needs to validate against the parent and child validation groups, both client side and server side. I think I know how to do it server side by calling the Page.Validate("grou...

ASP.NET Which validationgroup caused validation fail

There are 3 validation groups on the page Group1 Group2 Group3 After calidating the groups Page.Validate("Group1"); Page.Validate("Group2"); Page.Validate("Group3"); Page.IsValid is false How to find out which group caused validation fail and wich passed ? ...

How can I replace a function name using JavaScript and have it be recognized as a function?

I am trying to replace the JavaScript onclick event handler in ASP.NET that is added to a button control when using validation controls. This is what is output into the HTML from ASP.NET in this scenario: <input type="image" name="ibSubmit1" id="ibSubmit1" src="button-green-submit.gif" onclick="showProgress1();WebForm_DoPostBackWithOpti...