Infragistics NetAdvantage 是一个针对Microsoft开发环境(如Windows Forms, ASP.NET, Tablet PC 和 COM),非常完善的商业用户界面库. Infragistics NetAdvantage 包含了所有必要的界面元素,如grids, scheduling, charting, toolbars, menus, listbars, trees, tabs, explorer bars, UI ,editors等
问题:
tree控件在IE7.0下不能正常工作。如下图
当用户点击树型控件的节点时,页面PostBack后将获取的数据绑定到右边的下拉列表控件。该功能在IE6、FireFox1.5上运行正常。但当我将IE7升级到7.0后,出现上面的问题。
解决方法:
经过分析,发现问题出在站点目录下的infragistics\Scripts\ig_csom.js文件中。
源文件
// ig_csom class implements the basic browser independent functionality
function ig_initcsom()
{
// Public Properties
this.ScriptVersion="3.1.20042.3";
// navigator.userAgent is not being validated because ig_csom should not be used for unknown browsers.
this.AgentName=navigator.userAgent.toLowerCase();
this.MajorVersionNumber =parseInt(navigator.appVersion);
this.IsDom=(document.getElementById)?true:false;
this.IsNetscape=(document.layers?true:false);
this.IsNetscape6=(this.IsDom&&navigator.appName=="Netscape");
this.IsOpera=this.AgentName.indexOf('opera')!=-1;
this.IsMac=(this.AgentName.indexOf("mac")!=-1);
this.IsIE=(document.all?true:false);
this.IsIE4=(document.all&&!this.IsDom)?true:false;
this.IsIE4Plus=(this.IsIE && this.MajorVersionNumber >= 4)?true:false;
this.IsIE5=(document.all&&this.IsDom)?true:false;
this.IsIE50=this.IsIE5&&(this.AgentName.indexOf("msie 5.0")!=-1);
this.IsWin=((this.AgentName.indexOf("win")!=-1) || (this.AgentName.indexOf("16bit")!=-1));
this.IsIE55=((navigator.userAgent.indexOf("MSIE 5.5") != -1) && (navigator.userAgent.indexOf("Windows") != -1));
this.IsIEWin=(this.IsIE && this.IsWin);
this.IsIE6=((navigator.userAgent.indexOf("MSIE 6.0") != -1) && (navigator.userAgent.indexOf("Windows") != -1));
this.IsIE55Plus=(this.IsIE55 || this.IsIE6);
this.IsSafari=this.AgentName.indexOf('safari')!=-1;
// Obtains an element object based on its Id
原来是js函数在判断时不能识别IE7.0。于是我加入以下代码:
this.IsIE7 =((navigator.userAgent.indexOf("MSIE 7.0") != -1) && (navigator.userAgent.indexOf("Windows") != -1));
并将this.IsIE55Plus=(this.IsIE55 || this.IsIE6);修改为this.IsIE55Plus=(this.IsIE55 || this.IsIE6 || this.IsIE7);
在使用IE7.0登录系统,一些正常。哦也!!
相关推荐
这个压缩包文件"NetAdvantage_ASPNET_20111_Samples.msi"是Infragistics NetAdvantage ASP.NET 2011 Vol1的样例安装程序,它包含了各种实际应用场景下的控件示例,旨在展示控件的功能和用法。通过安装和探索这些样例...
Infragistics NetAdvantage for .NET 2009 Volume 1注册码
1. "Infragistics NetAdventage for ASP.NET 2009 Vol.2.txt":这个文件详细介绍了NetAdvantage for ASP.NET 2009.2版本的特性、控件列表以及如何在ASP.NET项目中使用这些控件的指南。 2. "Infragistics....
Infragistics NetAdvantage 是一个强大的UI组件库,专为.NET Framework 2.0的ASP.NET开发者设计,提供了丰富的用户界面控件和工具。2007年第三卷的版本(v7.3.20073.1043)是这一系列的源代码版本,它包含了用于创建...
In NetAdvantage for ASP.NET 13.1, we continue to deliver on one of the market's most mature and comprehensive toolsets. The key feature for this release is the continued inclusion of ASP.NET MVC ...
Infragistics NetAdvantage for asp.net help 2011 Vol1 part2
Infragistics NetAdvantage for ASP.NET 2011 Vol 1 Part1
总之,Infragistics NetAdvantage for .NET 2011 Volume 1 是一款功能强大且实用的UI控件工具包,能够极大地提升.NET平台下应用程序的开发效率和用户体验。对于开发者而言,在了解其核心特性和应用场景的基础上,应...
Infragistics NetAdvantage for .NET 2010 Vol 2(包含Key,ASP.NET,WPF,Windows Forms,Silverlight 2010年6月16日版本) Part2 to 43
提供源代码是Infragistics NetAdvantage的一大特色,这使得开发者能够深入理解控件的工作原理,进行自定义开发,或解决特定场景下的问题。通过查看源代码,开发者可以学习到先进的编程技巧和最佳实践。 5. 应用...
Infragistics NetAdvantage for ASP.NET 2010 Vol 1 HotFix Part3(2010年4月6日的版本)
在深入探讨Infragistics NetAdvantage for ASP.NET v2009 Vol.1的相关知识点之前,有必要先对Infragistics以及NetAdvantage for ASP.NET这一产品线进行一个全面的了解。Infragistics是一家专注于提供高质量用户界面...
Infragistics NetAdvantage for ASP.NET 2009 Vol 2 Part4(2009年10月23日的版本 包含Key)
Infragistics NetAdvantage for ASP.NET 2014 Volume 1
标题与描述均提到了"Infragistics NetAdvantage for ASP.NET 2010 Vol 2 HotFix",这指的是Infragistics公司在2010年发布的针对ASP.NET开发平台的一系列控件套件——NetAdvantage的补丁更新。Infragistics ...
Infragistics NetAdvantage for ASP.NET 2010 Vol 2 Source 是一款由 Infragistics 公司发布的针对 ASP.NET 平台的 UI 控件套件源代码。此版本为 2010 年 7 月 6 日发布,包含了大量高质量的 Web 控件,旨在帮助...
Infragistics NetAdvantage for .NET 2010 Vol 2 (ASP.NET,WPF,Windows Forms,Silverlight 2010年6月16日版本) KEY 单文件,请到官方下载安装版本,用此key注册;支持最新的silverlight 4的控件
总结来说,Infragistics NetAdvantage 2008 Vol2 Hotfix 27Aug08 ASP.NET for .NET 3.5是一个关键的更新,旨在提高开发人员使用Infragistics控件在.NET Framework 3.5环境下构建ASP.NET应用的体验。通过安装提供的热...