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

后端 未结 6 1383
予麋鹿
予麋鹿 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:17

    Here it is to keep it simple, a very simple example:

    Have the below javascript method in your Page Header:-

    
    
                                     
                  
提交回复
热议问题