ASP.NET 2.0. Lets say i have two Validation Groups valGrpOne and valGrpTwo; and two Validation Summaries valSummOne and valSummTwo; Reason for breaking up sections is purely aesthetic. One submit button which triggers validation on both groups.
Now i want to trigger Client-Side validation, AND want BOTH validation summaries to display at the same time;
So i setup a Javascript function which gets called upon btnSubmit, and inside this function i call Page_ClientValidate("valGrpOne")
and Page_ClientValidate("valGrpTwo")
in succession; Problem is only one summary shows at a time (But i really want both to show!)
Any ideas on how to get both validation summaries to display simultaneously, from client-side code?
Very similar to the following question, which answers for server-side.
Triggering multiple validation groups with a single button?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…