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

Forums / Project Feather / MVC Form not using ResourcePackage templates

MVC Form not using ResourcePackage templates

3 posts, 0 answered
  1. Jon Jones
    Jon Jones avatar
    19 posts
    Registered:
    13 Aug 2003
    18 Apr
    Link to this post
    I have built an MVC Form using Sitefinity's form builder and placed it on a page based on a Feather Resource Package (copied from the Bootstrap package).  Problem is, the form elements do not seem to be using the field templates from the resource package but it looks like they are just using the default embedded templates.  All other items on the page (content blocks) are using the resource package's templates.   How do you get it to use the templates from my resource package for the form fields?
  2. Jon Jones
    Jon Jones avatar
    19 posts
    Registered:
    13 Aug 2003
    19 Apr in reply to Jon Jones
    Link to this post
    Ok, very odd.  For whatever reason, today the site is pulling for the resource package templates.  I didn't change anything.  The only thing I can think of is that is started working after a app pool restart.  I did notice something else odd though.  To make sure that it was using the resource package templates I made a small change to one of the field templates, saved it, and it was reflected on the site immediately.  Then I removed that change and the field did not change back.  I had to restart the app pool (made a change to the web.config) to get it to reload the template again.  Is there some type of weird caching going on here?  Can this be controlled, at least in a dev/test environment?
  3. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    Registered:
    28 Sep 2016
    21 Apr
    Link to this post
    Hi,

    Depending on your version of Sitefinity an the Feather module the problem you are observing may be caused by view precompilation. The feature was introduced with Feather 1.4.410.0. To check the version of your Feather module refer to the following KB article: http://www.sitefinity.com/developer-network/knowledge-base/details/check-the-current-version-of-the-feather-module

    If you want you can disable the precompilation of views by following the steps in the following KB article: http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-turn-off-precompilation-of-razor-views-in-sitefinity-feather

    Regards,
    Velizar Bishurov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
3 posts, 0 answered