+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Configuring Unobtrusive Validation while using Sitefinity Master Pages

Configuring Unobtrusive Validation while using Sitefinity Master Pages

2 posts, 0 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    Registered:
    05 Feb 2005
    15 Jul 2013
    Link to this post
    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.
  2. Stephen2
    Stephen2 avatar
    94 posts
    Registered:
    05 Feb 2012
    16 Jul 2013
    Link to this post
    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?
2 posts, 0 answered