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

[Solved] failed to import method - 2011.2.712.340

2 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
david
Top achievements
Rank 1
david asked on 28 Jul 2011, 08:52 AM
hi,
i'm upgrading my telerik mvc3 project from telerik.web.mvc 2011.1.315.340 to 2011.2.712.340.
i added the new assembly and ran the project.. noticed none of my js scripts or css had been loaded.

i went into 1 of my razor views which had a telerik grid on tbe page and removed:
@using Telerik.Web.Mvc.Extensions
@using Telerik.Web.Mvc.UI

which caused the Html.Telerik to not be recongised which requires me to import the using statements - however, when i use the automatic import method of an unrecongised method i get the following error: "failed to import method".

it appears something is wrong with the dll.

any suggestions?

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 28 Jul 2011, 09:19 AM
Hello David,

 This may occur of the Telerik.Web.Mvc.UI namespace is not imported by your razor views. Please check the Razor help article for more information.

Kind regards,
Atanas Korchev
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

0
david
Top achievements
Rank 1
answered on 28 Jul 2011, 09:32 AM
worked a treat - many thanks
Tags
General Discussions
Asked by
david
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
david
Top achievements
Rank 1
Share this question
or