no, is the control licensed? if yes, talk to the author, otherwise, you only need the dll, make sure the dll is also added to the bin subdirectory of your web application at runtime
>>>无法找到某某对象post the exact error messages, the line where the error occurredif you are using code-behind, make sure the declaration for the object is there
我用的infragistics for asp.net的控件,大家应该都熟悉吧!!(这套控件太强大了!!) 我随便放个ultrawebgrid上去,运行,提示:“Microsoft JScript 运行时错误: 缺少对象” 代码如下:<script language="javascript"> <!-- var oUltraWebGrid1 = igtbl_initGrid("UltraWebGrid1");//此处出错!! oUltraWebGrid1.Element.parentElement.scrollLeft=0; oUltraWebGrid1.Element.parentElement.scrollTop=0; igtbl_updatePostField("UltraWebGrid1"); oUltraWebGrid1.GridIsLoaded=true; igtbl_fireEvent('UltraWebGrid1',oUltraWebGrid1.Events.InitializeLayout,'("UltraWebGrid1");'); -->
do you have to install a javascript library from them? or tryaspnet_regiis.exe -c
>>>>也把js都加到aspnet-client目录下了you miss the point, if you have any UltraWebGrid related javascript file, make sure<script language=javascript src="PathToYourUltraWebGrid.js"></script>
我随便放个ultrawebgrid上去,运行,提示:“Microsoft JScript 运行时错误: 缺少对象”
代码如下:<script language="javascript"> <!--
var oUltraWebGrid1 = igtbl_initGrid("UltraWebGrid1");//此处出错!!
oUltraWebGrid1.Element.parentElement.scrollLeft=0;
oUltraWebGrid1.Element.parentElement.scrollTop=0;
igtbl_updatePostField("UltraWebGrid1");
oUltraWebGrid1.GridIsLoaded=true;
igtbl_fireEvent('UltraWebGrid1',oUltraWebGrid1.Events.InitializeLayout,'("UltraWebGrid1");');
-->
谢谢saucer(思归)!!