• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

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" %>
0
HLRosenberger
Asked:
HLRosenberger
  • 2
  • 2
1 Solution
 
HLRosenbergerAuthor Commented:
I cant get this to work.  Anyone one know the answer, without just pointing me to some article?
0
 
Kyle AbrahamsSenior .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:
thanks.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now