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

Forums / Thunder / The control of type ... does not implement IField interface. All fields must implement IField interface.

The control of type ... does not implement IField interface. All fields must implement IField interface.

2 posts, 1 answered
  1. George
    George avatar
    17 posts
    Registered:
    16 Jan 2014
    12 Feb 2014
    Link to this post
    I'm new to SiteFinity and have started trying some things out in my development environment.  I've got two custom fields implemented already, and thought it would be good for the way some of my content is set up to implement two related Dynamic Modules.  So I set up Module A and then I am trying to get the Subitem of Module B to use a Sitefinity Dynamic Items Field Control Selector in the page.

    I've used the Add New Item -> Sitefinity Dynamic Items FIeld Control Selector (Twice actually) and I get the Control does not implement IField Interface each time.  I've set up the field following this article: http://www.sitefinity.com/documentation/documentationarticles/creating-field-control-with-selector-for-dynamic-items and I've read both of these forum posts:  http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/dynamic-module-and-custom-control and http://www.sitefinity.com/developer-network/forums/thunder/dynamic-module-selector-in-widget-designer.  I was not able to fix it with either of those articles.

    If I remove the control, my edit page appears, and if I put it back I get the same error.  Any suggestions on where I can look?

    Thanks,
    George
  2. George
    George avatar
    17 posts
    Registered:
    16 Jan 2014
    13 Feb 2014
    Link to this post
    So my problem stemmed from using the wizard it would seem.  When it created it with Thunder, it set the dynamicModuleType in the .cs class but in the .ascx it did not set the ItemType for the itemsSelector.  After adjusting that the control shows up and works.
    Answered
2 posts, 1 answered