how can we create a new table using the same datasource(which we set in code) from designer?

1 Answer 44 Views
.NET 5 Report Designer - Web
Anbu
Top achievements
Rank 1
Anbu asked on 05 Apr 2024, 07:19 AM

When I copy and paste existing table from telerik report designer. i am getting below error

I set datasource and table from code.

how can we create a new table using the same datasource(which we set in code) from  designer?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 09 Apr 2024, 11:51 AM

Hello Anbu,

Thank you for the screenshot of the problem!

Based on the error message, I assume that the table uses an EntityDataSource component as its data source.

The error indicates the wrapped EF data model does not have a constructor that can accept a string argument (the connection string provided on configuring the EntityDataSource component). Adding the constructor as in the EntityDataSource Component overview should resolve the issue.

Further instructions for configuring the EntityDataSource component are available in the EntityDataSource Wizard help article.

I hope this will help. Please let me know if you have any additional questions or if you need further assistance.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
.NET 5 Report Designer - Web
Asked by
Anbu
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or