This is a migrated thread and some comments may be shown as answers.

[Solved] Why does upgrading a website using RadEditor require manual entry into the Web.config?

2 Answers 156 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
bemara57
Top achievements
Rank 1
bemara57 asked on 08 May 2008, 01:37 PM
There is one minor annoyance when upgrading with a website that uses RadEditor. As you know, in the Web.config you have to add an httpHandlers like this:

<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

When you swap out the DLL in the bin folder, you have to manually go into the Web.config and update the version in the type section above, or else the RadEditor dialogs fail. I know it's nothing like a functionality issue, but is there a way to upgrade without needing to update the Web.config with the new version info? It's pretty tedious when you have a few websites that need upgrading so you need to go into some page that uses a RadEditor, go to the properties, and enable dialogs so it can update the Web.config with the exact info and version.

2 Answers, 1 is accepted

Sort by
0
Accepted
Lini
Telerik team
answered on 08 May 2008, 02:42 PM
Hello,

If your websites have the Telerik.Web.UI.dll in their bin folder, you can simply remove the version information from the Web.config file. This way there will be no required changes when you update the assembly in the bin folder. For example, the line:

<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

should become:

<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
bemara57
Top achievements
Rank 1
answered on 08 May 2008, 02:46 PM
Excellent! Thanks!!
Tags
General Discussions
Asked by
bemara57
Top achievements
Rank 1
Answers by
Lini
Telerik team
bemara57
Top achievements
Rank 1
Share this question
or