Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Documentation and tutorials > HtmlEncode Overload Error

Not answered HtmlEncode Overload Error

Feed from this thread
  • Sydney avatar

    Posted on Jan 25, 2011 (permalink)

    I have installed the Telerik MVC extensions and followed the instructions to add it to my project.  When I try to run the project, I get the following compilation error in Site.Master:

    Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.HttpUtility.HtmlEncode(string)' has some invalid arguments

    Source Error:

    Line 10:         <title>Math.Solutions</title>
    Line 11:     </asp:ContentPlaceHolder>
    Line 12:          <%: Html.Telerik().StyleSheetRegistrar()
    Line 13:         .DefaultGroup(group => group
    Line 14:             .DefaultPath("~/Style")

    Any ideas where to look?  I have searched my project for HtmlEncode calls, and there are none that should be turning up on the initial page.

    P.S., Found that if I remove the .Render() call, there is no error, but of course, it doesn't render the style sheets

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Documentation and tutorials > HtmlEncode Overload Error