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

Cannot find the 'Resource' type but exists in both!?

1 Answer 154 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 30 Jan 2012, 10:41 AM
using System.Windows.Media;
using Telerik.Windows.Controls;
 
namespace DragDrop
{
    public class OperativeResource : Resource
    {
       ...
    }
}

Visual Studio is telling me that 'Resource' exists in both
Scheduler.dll and ScheduleView.dll but when I attempt to
inherit from Resource using a fully qualified name...

namespace DragDrop
{
    public class OperativeResource :
      Telerik.Windows.Controls.ScheduleView.Resource
    {
       ...
    }
}
...it says Resource does not exist?? As you can guess I'm trying to define a class that can be used in the header of the ScheduleView and it's very important I can do this so any help is seriously appreciated. Thanks, Dan

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 31 Jan 2012, 10:50 AM
Hello Daniel,

The Resource class is placed in Telerik.Windows.Controls namespace in the Telerik.Windows.Controls.ScheduleView.dll.

It is not recommended to have referenced both Scheduler and ScheduleView assemblies in the same project, please remove the Scheduler dll in order to fix the issue.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Daniel
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or