Configuring Unobtrusive Validation while using Sitefinity Ma

Posted by Community Admin on 04-Aug-2018 16:21

Configuring Unobtrusive Validation while using Sitefinity Master Pages

All Replies

Posted by Community Admin on 15-Jul-2013 00:00

I am using Sitefinity Page Templates for all of my Sitefinity Content Pages.  However, I have built several custom ASP.NET 4.5 Custom User Controls and would like for my User Controls to leverage the new feature of Unobtrusive Validation available in ASP.NET 4.5.

The default ASP.NET 4.5 Web Project uses a ScriptManager to register the jQuery Script Library in the Site.Master Master Page in order to support Unobtrusive Validation, but since I am using a Sitefinity Master Page, how do I implement and support this for my ASP.NET 4.5 User Controls?

Please advise.

Thanks.

Posted by Community Admin on 16-Jul-2013 00:00

We always put our script refs in a Visual Studio .MASTER file, and load that into Sitefinity as a template.  That way we can easily and neatly affect the script/CSS refs.

P.S. It's my understanding SF doesn't quite support ASP.NET 4.5 yet?  Do you know if that's not true?

This thread is closed