Search code examples
c#asp.nettelerikassembly-references

The Designer not recognizing Telerik


I got the following code in the designer (which was autogenerated) but it has Telerik underlined with a red color that says

The type or namespace Telerik could not be found in the global namespace (are you missing an assembly reference?)

/// <summary>
/// RadEditorCtrl control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Telerik.Web.UI.RadEditor RadEditorCtrl;

Solution

  • First check:

    • In Solution Explorer, select the project.

    • On the Project menu, choose Add Reference.

    • The Add Reference dialog box opens.

    • Select the tab indicating the type of component you want to reference.

    • In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking to select multiple components.

    Tip - If the component you are looking for is not in the list, you may locate it using the Browse button (which you will more than likely need to do)

    • Click OK when you have selected all the components you need.

    • Selected references will appear under the References node of the project.