ASPNetSpell question

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" %>
LVL 1
HLRosenbergerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Kyle AbrahamsConnect With a Mentor Senior .Net DeveloperCommented:
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
 
HLRosenbergerAuthor Commented:
I cant get this to work.  Anyone one know the answer, without just pointing me to some article?
0
 
HLRosenbergerAuthor Commented:
thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.