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

Forums / Bugs & Issues / DynamicContentSelectorsDesignerView fails after update to 6.3.5013

DynamicContentSelectorsDesignerView fails after update to 6.3.5013

6 posts, 0 answered
  1. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    11 Feb 2014
    Link to this post
    I am using an external file associated via viewmap as per this blog post:
    http://www.sitefinity.com/blogs/stoimen-stoimenovs-blog/2012/08/29/filtering_dynamic_items_by_custom_taxonomy_in_the_front_end

    After an update to 6.3.5013 (no idea if this happens in 6.3 or just this internal build) I now will receive this error when trying to use the edit properties of my widget.

    A required control was not found in the template for "~/AaControls/WidgetTemplates/DynamicContentSelectors/DynamicContentSelectorsDesignerView.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.ControlDesign.ContentFilterSelector" and must have ID "contentFilterSelector".

    Is there an updated file I can get a hold of?  I tried to change out the id's of different controls in the current template I have, but have not been able to get it back into working order.  I also went into the viewmap setting and tried to change the HostType to "Telerik.Sitefinity.Web.UI.ControlDesign.ContentFilterSelector", but that did not do anything either.

    Is this a file I can find in JustDecompile?  I tried looked around a bit, but was not able to locate it in the resources anywhere.







  2. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    11 Feb 2014 in reply to Stacey
    Link to this post
    EDIT:
    This is probably noted somewhere I and just did not see it, but I decided to remove the custom viewmap entry I had just to see what would happen and it looks like the default designer now brings in custom categories without the need to use a custom template.  

    I think I have located the template

    I was looking in the wrong dll.

    It is found in Telerik.Sitefinity.Resources

    Telerik.Sitefinity.Resources.Templates.Designers.ContentView.DynamicContentSelectorsDesignerView.ascx

    The change itself looks to be with the following:
    <designers:ContentFilterSelector ID="contentFilterSelector" runat="server" AllowMultipleSelection="true"
                ItemsContainerTag="ul" ItemTag="li" ItemsContainerCssClass="sfCheckListBox sfExpandedPropertyDetails" DisabledTextCssClass="sfTooltip" />

  3. Richard
    Richard avatar
    64 posts
    Registered:
    09 Oct 2012
    10 Sep 2014
    Link to this post

    I think I'm having the same issue you had Stacy. I haven't tried to edit this module (a banner module)  really since we deployed the site originally back when Sitefinity was version 5.something, so I'm not sure when the problem started. Clearly it hasn't stopped the module from working on the user-side it just appears that when I try to use the edit properties of the widget I get the following error --

    A required control was not found in the template for "~/Templates/DynamicContentSelectorsDesignerView.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.ControlDesign.ContentFilterSelector" and must have ID "contentFilterSelector".
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
     
    Exception Details: Telerik.Sitefinity.Web.UI.TemplateException: A required control was not found in the template for "~/Templates/DynamicContentSelectorsDesignerView.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.ControlDesign.ContentFilterSelector" and must have ID "contentFilterSelector".
    What did you do to solve the problem?

    thanks!
  4. Aardvark
    Aardvark avatar
    4 posts
    Registered:
    13 Jan 2011
    10 Sep 2014 in reply to Richard
    Link to this post

    The filters the DynamicContentSelectorDesignerView were providing were introduced out-of-the-box in later versions of Sitefinity so I removed the ViewMap entry that was assigned the custom template to the widget.

  5. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    10 Sep 2014 in reply to Aardvark
    Link to this post
    Aardvark said:

    The filters the DynamicContentSelectorDesignerView were providing were introduced out-of-the-box in later versions of Sitefinity so I removed the ViewMap entry that was assigned the custom template to the widget.

    Love it when I am not logged into the correct account on the forums.  Anyhow, depending on what optimizations you were doing you may find that you can stop using the custom designer and just use the built-in widget designer.

  6. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    24 Nov 2016
    15 Sep 2014
    Link to this post
    Hi,

    The issue you are experiencing is due to changes made to the template you have mapped and controls referenced from the widget logic which cannot be found in your mapped template. All templates could be found in our SDK GitHub on the following link, corresponding to the Sitefinity versions.

    Regards,
    Nikola Zagorchev
    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
     
6 posts, 0 answered