Also see attached file.
We hope you can provide a workaround or an update for the Telerik components.
Thanks in advance.
6 Answers, 1 is accepted
I have created a simple test project which implements the required functionality. Everything works on my end.
Check it and let us know what your findings are.
Kind regards,
Georgi Krustev
the Telerik team
Seems like it works perfectly :)
We probably just have to go back an review our code.
/Dan
------ Rebuild All started: Project: MVC3TestsApp, Configuration: Debug Any CPU ------
MVC3TestsApp -> C:\Projects\Scratchpad\208223_mvc3testsapp\MVC3TestsApp\bin\MVC3TestsApp.dll
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(19): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(23): error CS0234: The type or namespace name 'Html' does not exist in the namespace 'System.Web.WebPages' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(24): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(25): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(34): error CS0012: The type 'System.Web.WebPages.WebPageBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.2.cs(19): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.2.cs(23): error CS0234: The type or namespace name 'Html' does not exist in the namespace 'System.Web.WebPages' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.2.cs(24): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.2.cs(25): error CS0246: The type or namespace name 'WebMatrix' could not be found (are you missing a using directive or an assembly reference?)
ASPNETCOMPILER : error ASPPARSE: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\temp\a70da4e5\d3633782\App_Web_huuamcba.0.cs(19): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I've attached a screenshot when I try to view the Razor view.
The error you are getting is due to the fact that the sample is quite old and is not compatible with the latest Razor version. You may refer to this code library for an example of our component used with Razor view engine.
Regards,Rosen
the Telerik team