'RadCodeBlock1', but its type (Telerik.Web.UI.RadCodeBlock) is not compatible with the type of control (Telerik.Web.UI.RadCodeBlock).

2 posts, 0 answers
  1. Steve
    Steve avatar
    1 posts
    Member since:
    Oct 2016

    Posted 10 Jan Link to this post

    Recent upgrade to Telerik.Web.UI runtime version v4.0.30319 started throwing error  "The base class includes the field 'RadCodeBlock1', but its type (Telerik.Web.UI.RadCodeBlock) is not compatible with the type of control (Telerik.Web.UI.RadCodeBlock)."

    We also tried the Toolbox to verify the RadCodeblock and it exist. Are there any changes required to execute this during runtime?

     

     

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1667 posts

    Posted 13 Jan Link to this post

    Hello Steve,

    The error you are seeing is usually observed when the assembly for the controls is targeting a different .NET version than the project.

    You can check what version is targeting the Telerik.Web.UI.dll file by checking the version for it. If for example the version is 2016.3.1027.45 the assembly is targeting .NET 4.5 and above. The last two digits in the version indicate the .NET version. You can see more details on checking the version of the dll in the article below.



    Regards,
    Viktor Tachev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top