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

how to print schedule

1 Answer 109 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Y L
Top achievements
Rank 1
Y L asked on 15 Sep 2010, 05:32 PM
Hi there,

I'm trying to print my schedule. Just like what this does:

http://demos.telerik.com/schedulebuilder/

But I couldn't print anything. I don't quite understand how to make telerik scheduler and telerik reporting work together.

In my EventReport.aspx.cs file, I can't use the code which works perfectly for

http://demos.telerik.com/schedulebuilder/

using EventScheduler.Reporting;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        EventsReport eventsReport = new EventsReport();
        ReportViewer1.Report = eventsReport;
    }
}

Each time I use the code above, I will get this error:

Could not load file or assembly 'Telerik.Reporting, Version=3.2.9.1006, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


Actually I'm not using Telerik.Reporting, Version=3.2.9.1006 at all.

And I added another project in my existing project , in which i created report using Telerik Reporting.  I'm not sure how my report can be used to work together with scheduler.

Any help will be appreciated.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Sep 2010, 09:57 AM
Hi Y L,

It looks like your web.config file is configured to work with Telerik reporting version 3.2.9.1006 and you are currently don't have this version. The simplest solution to this problem is to open your web.config file and delete the reference to Telerik reporting. Then use whichever is applicable of the following topics to reference your current version:

Deploying Web Site with Telerik Reporting
or
Deploying Web Applications with Telerik Reporting


Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Y L
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or