在IIS中发布AjaxControlToolKit [英] Publishing AjaxControlToolKit in IIS

查看:73
本文介绍了在IIS中发布AjaxControlToolKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



所有的aplication在localhost中运行得很好,但是当我在IIS(Win2008)中发布aplication时,任何使用AjaxControlToolKit的控件都没有工作......



在这张照片中你可以看到modalpopup .... http://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.... http://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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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