Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > HtmlHelpersExtensions.cs & string.Empty.Raw()
Telerik MVC Extensions are no longer supported (see this page for reference). In case you have inquiries about Kendo UI Complete for ASP.NET MVC, post them in the pertinent Kendo UI forums.

Not answered HtmlHelpersExtensions.cs & string.Empty.Raw()

Feed from this thread
  • Ken avatar

    Posted on Apr 15, 2012 (permalink)

    I'm trying to build HtmlHelpersExtensions.cs and am getting the following error:

    Error 1 'string' does not contain a definition for 'Raw' and no extension method 'Raw' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) c:\documents and settings\administrator\my documents\visual studio 2010\Projects\COE\COE\App_Code\HtmlHelpersExtensions.cs

    I get the error five times. In searching, I've found that .Raw is not available in MVC2, but I'm using MVC3. 

    System.Web.Mvc Runtime Version = v4.0.30319 / Version = 3.0.0.0

    Not sure where to go from here - suggestions appreciated!

  • IT Application Development avatar

    Posted on Jun 15, 2012 (permalink)

    I just ran into this. If youre still having issues, just add the StringExtensions.cs to your project. It should be in the same place where you got HtmlHelpersExtension file.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > HtmlHelpersExtensions.cs & string.Empty.Raw()