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

Forums / Bugs & Issues / ImagesView\DownloadListView Throw exceptions in external templates

ImagesView\DownloadListView Throw exceptions in external templates

1 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    21 Mar 2012
    Link to this post
    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.
1 posts, 0 answered