This is a migrated thread and some comments may be shown as answers.

Type or namespace name 'RadScheduler' does not exist in the namespace 'Telerik.Web.UI' (did you dork something up?)

1 Answer 196 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cindy
Top achievements
Rank 1
Cindy asked on 02 Sep 2010, 05:53 PM
Hi,
    I'm receiving the error message: Type or namespace name 'RadScheduler' does not exist in the namespace 'Telerik.Web.UI' (are you missing an assembly reference?) in the following code:

WidgetForm.aspx.designer.cs

/// <summary>
/// RadScheduler1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Telerik.Web.UI.RadScheduler RadScheduler1;
(blue squiggly line under the "RadScheduler")


Here are the using statements:

WidgetForm.aspx.cs:     
using System;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
  
using Telerik.Web.UI;
using Telerik.Web.UI.Calendar;

Is there something I'm missing?  This is only my second project in which I've used telerik controls so maybe I missed something basic in the setup of the webforms?

Thanks!




1 Answer, 1 is accepted

Sort by
0
Cindy
Top achievements
Rank 1
answered on 02 Sep 2010, 07:28 PM
I figured it out.  When adding a reference to your project be very, very careful that you pick the "Telerik.Web.UI that matches your version of your .NET framework.  I must have mis-clicked.

Tags
Scheduler
Asked by
Cindy
Top achievements
Rank 1
Answers by
Cindy
Top achievements
Rank 1
Share this question
or