在IIS中发布AjaxControlToolKit

编程入门 行业动态 更新时间:2024-10-15 14:13:00
本文介绍了在IIS中发布AjaxControlToolKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 所有的aplication在localhost中运行得很好,但是当我在IIS(Win2008)中发布aplication时,任何使用AjaxControlToolKit的控件都没有工作...... 在这张照片中你可以看到modalpopup .... imageshack.us/photo/my-images/534/mals .jpg / 感谢您的帮助。

Hi everybody, All the aplication works great in the localhost, but when I publish the aplication in IIS (Win2008) any control with the AjaxControlToolKit doesn''t Work... In this photo you can see the modalpopup.... imageshack.us/photo/my-images/534/mals.jpg/ Thanks for your help.

推荐答案

当我使用工具包时,我有构建和编译它以生成我的项目所需的DLL文件。我必须构建2个版本,适用于2.0 / 3.5和4.0。 我必须小心使用所需的正确版本。 所以你只需获取DLL的正确版本,并为你的网站项目制作一个Bin文件夹,然后将文件放在Bin文件夹中。 br /> 确保你的工具包参考指向bin文件夹,所有这些都应该很好。 我只看了你的图片,我之前看到过服务器渲染工具包的地方不同。 我注意到脚本管理器使工具包不同比AjaxToolkit脚本管理器,它处理屏蔽和模态弹出窗口的居中。 ScriptManager工作正常。 这很烦人,我终于将工具包转移到Jquery,现在使用简单的模态。 如果使用AjaxScriptManager标记元素,请尝试使用ScriptManager标记元素。 When I was using the toolkit, I had to build and compile it to produce the DLL files I needed for my projects. I had to build 2 versions, for for 2.0/3.5 and 4.0. I had to be careful to use the correct versions needed. So you just grab the correct version of the DLL''s, and make a Bin Folder for your website project, and drop the files in the Bin Folder. make sure your reference for the toolkit points to the bin folder, all should be good from there. I just looked at your image, I''ve seen that before in where the server renders the toolkit different. I noticed that the script manager renders the toolkit different than the AjaxToolkit script manager, in the way it handles masking and the centering of the modal popup. ScriptManager works correct. That was annoying, I finally dumped the toolkit for Jquery, and use simple modal now. Try The ScriptManager tag element if your using the AjaxScriptManager tag element.

更多推荐

在IIS中发布AjaxControlToolKit

本文发布于:2023-11-24 23:53:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627430.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:IIS   AjaxControlToolKit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!