ImagesView\DownloadListView Throw exceptions in external tem

Posted by Community Admin on 04-Aug-2018 19:02

ImagesView\DownloadListView Throw exceptions in external templates

All Replies

Posted by Community Admin on 21-Mar-2012 00:00

If you only have your .ascx and .ascx.cs file, and you right-click the ascx to generate the .designer file...if you have either an ImagesView or a DownloadListView control in the template you'll get this popup error and the designer file will not be generated

Generation of the designer file for OpenAccessDataProvider,59d9e00a1204444b99d71becf884620d.ascx failed: The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.Generation of the designer file for OpenAccessDataProvider,59d9e00a1204444b99d71becf884620d.ascx failed: The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.

If you then delete those controls and try to generate the designer file...all goes fine.

This thread is closed