Article relates to
all RadEditor versions,
except RadEditor for ASP.NET AJAX
April 11, 2008
Last modified by
ERROR MESSAGE Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30451: Name 'this' is not declared. Source Error: .... DESCRIPTION
This error appears when opening any of the editor's dialogs, such as insert images/documents/flash. It is caused by the reference to *.cs codebehind files in a VB project and appears after you have included the RadControls folder in your VS.NET project. The extent of these changes depends on the IDE settings, but when .ascx/aspx files are included in the project, VS.NET automatically changes their Page/Control directive's Language attribute from cs to vb, thus leading to this error. The following controls are affected:
SOLUTION for VS2003
Below are the steps to fix the problem:
There are three approaches to fixing this problem under VS2005.
Approach 1 (easier and faster)
Approach 2 (time-consuming)
Approach 3 (when your project is a VB.NET one)
If you need the RadControls folder included in your project, you should do the following:
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.