|
Rank: Member Groups: Member
Joined: 11/19/2007 Posts: 25
|
Hi, If I put
Code: HTML/ASPX
<appSettings>
<add key="eo_DictLocation" value="~/Admin/Support/eo_dict"></add>
</appSettings>
in ~/Admin/Web.config the dictionary will not load. The code looks in the web root. If I put the key in the root Web.config it works as expected. The similar eo_ScriptLocation app key does work in the child folder Web.config.
Code: HTML/ASPX
<add key="eo_ScriptLocation" value="~/Admin/Support/eo_script" />
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe this is normal. Web.config files are handled by ASP.NET and it has nothing to do with our controls. You may want to refer to MS documentation about of the scope web.config file.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/19/2007 Posts: 25
|
Is it possible to set the dictionary location using C#?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
DH wrote:Is it possible to set the dictionary location using C#? No. There isn't. The spell checker uses ConfigurationManager.AppSettings["eo_DictLocation"] to get the location. The rest is handled by ASP.NET config file mechanism. So if you run into problem with that, the config file is what you need to troubleshoot.
|
|