Solved

ASPNetSpell question

Posted on 2013-06-21
4
384 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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