Kendo Ui - Dependency Injection

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    1 posts
    Member since:
    May 2013

    Posted 16 Apr 2014 Link to this post


    I'm currently developing an application with the support of Windsor Castle (DI container).

    As I also want to use Kendo in this project, I started with a simple Grid.

    Suddenly the Exception "no parameterless constructor defined for this object" came up.

    I've found some threads about this on the net - like this one ( - which are talking about the same error.
    But the solution suggested in those are not satisfying, because I don't want to introduce a parameterless constructor if I don't need one (beside of Kendo).

    Is there a way to use Kendo without having parameterless constructors?

    Thanks in advance.

    Kind regards
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 18 Apr 2014 Link to this post

    Hello Daniel,

    Could you please elaborate, which constructor exactly fails to be used? It sounds like you have to register dependency resolution for some interface. Sharing more details about your setup could help us make some assumptions.

    Or if possible provide small runnable demo so we can see what exactly goes wrong.

    Kind Regards,
    Petur Subev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top