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

解决方案 »

  1.   

    如果是一个.dll文件,并且没有错误的话,你将它copy到工程bin目录下,并且在添加引用中引用它,如果是控件的话,你换要在工具兰中右健自定义工具箱中,选择.net组件,添加到工具箱中 后使用。
      

  2.   

    不好意思,没有看见思归大虾的留言,要不我就不用写了,环望思归大虾帮我看看我的SOS问题。几。我 要下了。88
      

  3.   

    恐怕是license的问题吧,我用的是infragistics for asp.net vol3的,直接安装后可以运行demo,但是自己无法用到自己的工程里去,总是说license问题,现在我当了vol2的源代码,自己编译出的dll,难道这样也不行??
      

  4.   

    但是我加入到组件栏后,有的控件很正常啊!!而有的不正常,说是“无法找到某某对象”之类,如果是license问题的话,那应该都不行啊!!
      

  5.   

    >>>无法找到某某对象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
      

  6.   

    我用的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");');
    --> 
      

  7.   

    do you have to install a javascript library from them? or tryaspnet_regiis.exe -c
      

  8.   

    我试了aspnet-regiis.exe -c了,也把用到的js都拷到C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322目录里了!!
      

  9.   

    open the html source in IE, try to search for the definition for "igtbl_initGrid"
      

  10.   

    》》var oUltraWebGrid1 = igtbl_initGrid("UltraWebGrid1");//此处出错!!igtbl-initgrid是一个函数,定义在某个js中,UltraWebGrid1是我放上去的grid的名字,这些都找的到啊!
      

  11.   

    >>>定义在某个js中is the js file included? >>>UltraWebGrid1是我放上去的grid的名字make sure that is the id in html on the client side
      

  12.   

    现在所有的js我都加到工程文件里来了,控件的id是“UltraWebGrid1",也-c了,也把js都加到aspnet-client目录下了,但是还是同样的问题!??
      

  13.   

    >>>>也把js都加到aspnet-client目录下了you  miss the point, if you have any UltraWebGrid related javascript file, make sure<script language=javascript src="PathToYourUltraWebGrid.js"></script>
      

  14.   

    还是无法解决!放弃这套控件。
    谢谢saucer(思归)!!