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

Previewing report in Visual Studio with ObjectDataSource using external assemblies

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ralf
Top achievements
Rank 1
Ralf asked on 16 Apr 2015, 01:35 PM

We are designing a report with an ObjectDataSource in Visual Studio 2013.

The ObjectDataSource uses a method to retrieve data-items.

All works fine when the code needed to retrieve data is included in same library as the report.

However, when I want to use another (shared) library to retrieve the data, the designer fails to load that assembly (that's the exception that is shown).

I know that putting the library in same location as Visual Studio works, but that's not an option for us.

 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 21 Apr 2015, 06:35 AM
Hello Ralf,

Since the Visual Studio Report Designer works inside Visual Studio, it is required that the library is in the same location. This is a known and expected behavior. If placing the library in the same location is not an option for you, you will need to use a report viewer to preview the report instead of the designer preview e.g., Windows Forms Report Viewer.

Regards,
Nasko
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Ralf
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or