开发者

Jquery-UI Thickbox not working properly

开发者 https://www.devze.com 2023-04-07 03:26 出处:网络
I have a query on the behaviour of the jquery-ui component ThickBox. The issue is, Im using the thickbox in my master page. The login page of my website contains few asp controls where \'causesvalida

I have a query on the behaviour of the jquery-ui component ThickBox. The issue is,

Im using the thickbox in my master page. The login page of my website contains few asp controls where 'causesvalidation' property of the asp controls are set to 'true'. When the link associated with the thickbox class is 开发者_开发知识库clicked, the pages where validations are not set will show the hidden div . Why the same not working with the other pages where the validations are set to true? Is there any way to skip the validation when an anchor tag is used?

Please help...


Make the anchor a server control and set the CausesValidation property of the anchor in to false. Also, ASP.NET has ValidationGroups, which might help you out as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消