• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • 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
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.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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