DynamicContentSelectorsDesignerView fails after update to 6.

Posted by Community Admin on 04-Aug-2018 16:57

DynamicContentSelectorsDesignerView fails after update to 6.3.5013

All Replies

Posted by Community Admin on 11-Feb-2014 00:00

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.







Posted by Community Admin on 11-Feb-2014 00:00

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" />

Posted by Community Admin on 10-Sep-2014 00:00

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!

Posted by Community Admin on 10-Sep-2014 00:00

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.

Posted by Community Admin on 10-Sep-2014 00:00

[quote]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.

[/quote]

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.

Posted by Community Admin on 15-Sep-2014 00:00

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
 

This thread is closed