ajax选项卡容器不使用asp.net模板 [英] ajax tab container not working with asp.net template

查看:79
本文介绍了ajax选项卡容器不使用asp.net模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提前感谢您阅读并回复此问题。我已经搜索了这个问题,并找到了一些相关的解决方案,但没有一个解决这个问题,特别是这个问题。我在Windows 8上使用visual studio 2012.我使用了asp.net web项目模板,我已经包含了对ajax的引用,我还用ajaxToolkitScriptManager替换了现有的asp:scriptmanager(在主页面上)。我留下了'script'元素,介于两者之间。好的,所以我在默认页面(使用母版页)的'div'元素中添加了tab容器。我添加了选项卡面板和内容模板。在内容模板中,我有一个'section'元素,然后保存我的所有控件。在设计器中,选项卡容器出现并按预期工作。项目构建和测试很好,但浏览器中没有选项卡容器。我已经在选项卡容器中部分呈现了一些控件,但它们没有任何功能。标签容器外部的其他ajax控件按预期工作。在最新版本的IE,Firefox和Chrome上测试。我还应该声明,当我尝试在空Web项目上使用选项卡容器时,EVERYHING按预期工作。我还复制了ajax示例站点附带的.css文件中的样式。我试图包括尽可能多的细节。我在图书馆,所以在撰写本文时我没有可访问的代码。如果需要更多信息,我很乐意提供。再次感谢你的帮助。

i would like to thank you in advance for reading and responding to this. i have searched for this issue and found some related solutions, but none that fix this and are specifically this issue. im using visual studio 2012 on windows 8. I used the asp.net web project template, I have included the reference to ajax and I also replaced the existing asp:scriptmanager(which is on the master page) with an ajaxToolkitScriptManager. I left the 'script' element and everything in between. ok so I add the tab container inside of a 'div' element on the default page(which uses the master page). I add the tab panels and the content templates. inside the content template I have a 'section' element which then holds all of my controls. in the designer the tab container appears and works as expected. the project builds and tests just fine, but there is no tab container in the browser. Ive had some controls partially render in the tab container, but they have no functionality. other ajax controls outside of the tab container work as expected.ive tested on the newest versions of IE, Firefox, and Chrome. I should also state that when I attempt to use a tab container on an empty web project, EVERYHING work as expected. i also copied the styling from the .css file that comes with the ajax example site. i have tried to include as much detail as i could think of. i am at the library so i don't have my code accessible at the time of this writing. if any more information is needed, i will gladly provide. thank you again for your help.

推荐答案

仍在努力解决这个问题。我看过类似的问题,没有一个解决方案有效。任何帮助将不胜感激
still trying to figure this out. ive looked at similar problems and none of the solutions work. any help would be appreciated


这篇关于ajax选项卡容器不使用asp.net模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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