错误在运行使用AjaxControlToolkit网站 [英] Error while running the website using AjaxControlToolkit

查看:185
本文介绍了错误在运行使用AjaxControlToolkit网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用我的网站AjaxControlTookit。该网站运行良好,直到我加入HTMLEditorExtender。这时里面传来的例外是

I am using AjaxControlTookit in my website. The website was running fine until I added the HTMLEditorExtender. Then the exception which came was

Controls集合不能因为控制进行修改
  包含code块(即<%...%>)

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

我解决它仅stackoverflow.com使用上的问题之一的建议。解决方法是从工具箱中删除AJAX控件工具箱选项卡,然后再添加选项卡和项目,并更新DLL文件。

I resolved it using a suggestion on one of the questions on stackoverflow.com only. Solution was to delete the ajax control kit tab from the toolbox and then again add the tab and the items and update the dll file.

我更新的DLL文件执行,并给那里的步骤。但现在的编译时错误正在到来。这是如下:

I updated the DLL file and performed the steps given there. But now the compile time error is coming. Which is as follows

错误4无法加载文件或程序集AjaxControlToolkit,
  版本= 4.1.60501.0,文化=中性公钥= 28f01b0e84b6d53e
  它依赖或1。在位于集清单定义
  不匹配的程序集引用。 (从HRESULT异常:
  0x80131040)

Error 4 Could not load file or assembly 'AjaxControlToolkit, Version=4.1.60501.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

请告诉我该如何解决这一点。

Please tell me what is the solution to this.

推荐答案

谢谢大家我被重置为previous错误的情况,即

Thanks everyone I solved this puzzle by resetting it to previous error situation i.e.

Controls集合不能因为控制进行修改
  包含code块(即&LT;%...%>)

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

您可以在这里查看解决方法:<一href=\"http://stackoverflow.com/questions/15171985/error-after-adding-ajaxcontroltoolkits-htmleditorextender\">Error添加AjaxControlToolkit的HTMLEditorExtender 后,这是我的另一个问题,这个错误。

You can check the solution here: Error after adding AjaxControlToolkit's HTMLEditorExtender which is my another question for this error.

这篇关于错误在运行使用AjaxControlToolkit网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆