开发者

ASP.NET Validator Scripts Missing

开发者 https://www.devze.com 2023-03-05 11:47 出处:网络
For some reason, on some of my pages, the default validator script isn\'t rendering with the page.The reason makes sense; I\'m using the Telerik 开发者_运维百科RadAjaxPanel, which scenario-wise I coul

For some reason, on some of my pages, the default validator script isn't rendering with the page. The reason makes sense; I'm using the Telerik 开发者_运维百科RadAjaxPanel, which scenario-wise I could just also say UpdatePanel. The panel wraps the pages and AJAXifies the responses. Initially, the controls do not have a validator on the page, and thus, the validation scripts are missing.

Regardless of the reason, is there a way to render the Validation script manually with the ScriptManager? Is this embedded in the System.Web DLL?

Thanks.


I ended up adding a hidden control/validator in the master page, and then this issue went away. HTH someone.

0

精彩评论

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