Could not load file or assembly 'System.Web.Extensions' or one of its dependencies. The system cannot find the file specified.

3 posts, 0 answers
  1. Nani
    Nani avatar
    2 posts
    Member since:
    May 2012

    Posted 23 May 2012 Link to this post

    Hi,

    I trying to use "SpellCheckValidator" rad control in of my UserControl.
    I have included
    1.  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> - in UserControl
    2. Added reference to Teleric.web.UI to my project (V2010.1.415.35)
    3. Manually copied teleric.web.ui dll to my site "bin" folder
    4.  <%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.Extensions" TagPrefix="webExtensions" %> - in UserControl
    5. Added reference to web.extensions to my project
    6. And I am using teleric dll from BIN35
    7. I am good with ajaxifying

     


    This is how I am trying to use teleric control

    <
    telerik:SpellCheckValidator ID="SpellCheckValidator1" runat="server" ControlToValidate="RadSpell1" ErrorMessage="Please Check Spell"></telerik:SpellCheckValidator>

     

     

    <telerik:RadSpell ID="RadSpell1" runat="server" ButtonType="PushButton" ControlToCheck="txtMessage" />

    I still get below error

     

    "Could not load file or assembly 'System.Web.Extensions' or one of its dependencies. The system cannot find the file specified."

    Please help me out !!

    Thnx
    N

  2. Nani
    Nani avatar
    2 posts
    Member since:
    May 2012

    Posted 24 May 2012 Link to this post

    Any help from Telerik developers ?
  3. Rumen
    Admin
    Rumen avatar
    13804 posts

    Posted 25 May 2012 Link to this post

    Hi,

    This is a web.config configuration problem. Since you did not provide the whole error message, I built a sample .NET 3.5 project that works fine on my end, which you can test on your end.

    The solution is based on the following live demo: Spellcheck Validation.

    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top