使用 devexpress HtmlEditor 控件有 DXR.axd 抛出 404
我正在使用开发快速控件:ASPxHtmlEditor 版本 10.1。我正在尝试创建一个只有此控件的简单控件。不幸的是,该控件不会在加载任何样式或图像的情况下进行渲染。这种情况发生了20多次。该控件没有任何样式,并且其所有图像都不会加载到该控件上。
我收到 404 异常,类似于:“无法加载源 http://localhost:11238/DXR。 axd?r=5_0"
I am using a dev express control: ASPxHtmlEditor version 10.1. I am trying to create a simple that only has this control. Unfortunately the control does not render with any of its styles or images loaded. This happens over 20 times. The control does not have any of its styles and all of its images do not load on the control.
I am getting 404 exceptions similar to: "Failed to load source http://localhost:11238/DXR.axd?r=5_0"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
导致此问题的原因是 web.config 文件不包含我们的 http 处理程序注册。因此,此类请求没有得到正确处理,脚本和图像没有到达客户端。在设计器中打开页面后,http 处理程序已注册,问题就消失了:)
The cause of this issue is that the web.config file did not contain our http handler registration. So, such requests were not properly handled and scripts and images did not come to the client. Once you open the page in the designer, the http handler was registered and the problem disappeared :)
解决方案是重新启动我的计算机并在设计模式下打开控件所在的页面,使其创建正确呈现所需的所有控件。
The solution was to restart my machine and open the page the control was on in design mode to have it create all the controls it needs to render properly.