Solved

ASPNetSpell question

Posted on 2013-06-21
4
381 Views
Last Modified: 2013-06-27
I'm using the ASPNetSpell spell checker.  This directive has to be at the top of the page.   How can I do this via the web.config instead?   There is a ASPNetSpell.DLL in my bin directory.


<%@ Register Assembly="ASPNetSpell" Namespace="ASPNetSpell" TagPrefix="ASPNetSpell" %>
0
Comment
Question by:HLRosenberger
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39267083
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 39271418
I cant get this to work.  Anyone one know the answer, without just pointing me to some article?
0
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39271519
It's usually better to cite your sources . . . and it's the preferred method of answering questions on EE.

inside your web.config in the system.web folder add the following:

    <pages>
      <controls>
        <add Assembly="ASPNetSpell" Namespace="ASPNetSpell" TagPrefix="ASPNetSpell" />
      </controls>
    </pages>

Remove your reference from the page itself.

Rebuild the application, and all should be fine.

This is my pages section right from my web config:

    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
      <controls>
        <add tagPrefix="telerik" assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" />
        <add tagPrefix="AjaxControl" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
      </controls>
    </pages>

And it's usually helpful to describe what exactly isn't working rather than this doesn't work.  We know it doesn't work, otherwise you wouldn't be here asking.  The question is why doesn't it work, or what error message / symptoms are you seeing?
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 39282594
thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question