More in this section

Forums / Developing with Sitefinity / <sf:ContentMetaFields

&lt;sf:ContentMetaFields

4 posts, 1 answered
  1. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    13 Jul 2009
    Link to this post
    Where can i find the ContentMetaFields control.
    I am trying to use the product sample to create a module that inherits from the generic_content module.

    When creating my templates, i don't apear to be able to find this control.
    I tried to add the Telerik.Cms.Engine.dll to my toolbox, but that can't be done.
    If i just register the namespace Telerik.Cms.Engine.WebControls manually it does not work.
    Like this:
    <%@ Register TagPrefix="sf" Namespace="Telerik.Cms.Engine.WebControls" Assembly="Telerik.Cms.Engine" %>
    I still can't see the controls.

    Typing <sf brings up nothing. It does not apear to be recognised.

    A
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Jul 2009
    Link to this post
    Hi Andrew,

    I am not able to reproduce this behavior. Most probably the control was cached. Try declare the control and rebuild the project. Then check whether the intellisense works.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    15 Jul 2009
    Link to this post

    No, not cashed.
    To clarify i am trying to do this in a .ascx file that is a template. inside a class project outside the actual sitefinity project. Just in the same solution. I have added the references to the telerik dlls. I assumed this would be enough for the controls to be recognised.

    This by the way does not stop the application from actually working. As it gets compiled into a dll and used within the sitefinity web page. There it can find its appropriate assemblies.

    It just makes it impossibly difficult to design the template. I am doing this according to the products module sample available the sitefinity blogs site.

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Jul 2009
    Link to this post
    Hi Andrew,

    In modules as Products, which uses embedded templates, there is no intellisense.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
    Answered
Register for webinar
4 posts, 1 answered