This question is locked. New answers and comments are not allowed.
I have converted a Web Forms solution to a MVC/Web Forms solution. I am trying to use Telerik inside of it and I keep getting this error:
'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik'
Server Error in '/Platform' Application.
Compiler Error Message: CS0117: 'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik'
Source Error:
I have converted a simpler application to try and see if I could get it to work and it worked fine. This particular solution is multiple modules that get copied into the main module at build time. Is there something that I need to know to get the module to recognize the Telerik extensions? I have Views folders in every Web module and configs to go with those. The Telerik.Web.Mvc dll is referenced in all web modules. The namespace is in every web config.
Any information will be helpful. Thanks in advance.
'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik'
Server Error in '/Platform' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0117: 'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'Telerik'
Source Error:
Line 9: <body>
Line 10: <div>
Line 11: <%= Html.Telerik().ScriptRegistrar() %>
Line 12:
Line 13: </div>
|
I have converted a simpler application to try and see if I could get it to work and it worked fine. This particular solution is multiple modules that get copied into the main module at build time. Is there something that I need to know to get the module to recognize the Telerik extensions? I have Views folders in every Web module and configs to go with those. The Telerik.Web.Mvc dll is referenced in all web modules. The namespace is in every web config.
Any information will be helpful. Thanks in advance.