Page_ClientValidate() with multiple ValidationGroups - how to show multiple summaries simultaneously?

后端 未结 6 1350
予麋鹿
予麋鹿 2020-12-01 04:31

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

6条回答
  •  爱一瞬间的悲伤
    2020-12-01 05:20

    Ok, so the answer was not simple. It seems the default behaviour of client-side validation is to show only the lastest group / summary that has just been validated. But a bit of Javascript tweeking gave me an acceptable answer.

    Feel free to offer improvements.

       
    

提交回复
热议问题