Hi,
I followed exactly the instructions in:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=6158
and now my web.config looks like this:
<configuration><configSections><section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=8.3.20083.1009, Culture=Neutral, PublicKeyToken=7DD5C3163F2CD0CB"/></configSections>
...
</configuration>
and I'm getting an error:
"Could not load file or assembly 'System, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified."
in the Scripts folder I have only one java script ig_WebGrid.js that I updated (Since I get the following error: http://community.infragistics.com/forums/p/18367/66833.aspx)
And another question :
which files should be in the scripts folder in addition to the files I have updated?
Please help
Maya
Maya,
The issue here is that you provided the incorrect version number and public key token. Use the version number and public key token exactly as it is defined in the KB article you referenced.
I personally find it simplest and safest to include all of the JavaScript files. If you know for certain what controls you're using, you can look at the Deployment Overview page in our help documentation (this link leads to the article in our online help docs for NetAdvantage for .NET 2009 Volume 1) to see which JavaScript files are required for each control.
Thanks for your reply.
I tried it already, but then I got an error : Microsoft JScript runtime error: 'ig_csom' is undefined
in
function
igtbl_getElementById(tagId)
{
if(!document) return;
var obj=ig_csom.getElementById(tagId);
and after that: Microsoft JScript runtime error: Object expected
So I guess still there is something wrong...
Please advice
Thanks
This different message means that your web.config changes have taken effect.
It sounds like the file ig_shared.js is missing from the directory where you've deployed your scripts. I recommend copying all of the JavaScript files used by any of our ASP.NET controls in NetAdvantage for .NET over to your scripts directory.
Vince McDonald"] Maya, This different message means that your web.config changes have taken effect. It sounds like the file ig_shared.js is missing from the directory where you've deployed your scripts. I recommend copying all of the JavaScript files used by any of our ASP.NET controls in NetAdvantage for .NET over to your scripts directory.
Hi Vince,
I am getting a similar error to Maya.
I have an aspx page with the WebDataGrid loading data (works great). I then wanted to detect when the selection of a row changes (I am able to fire javascript perfectly). I did some more research and I found out about some of the Infragistics javascript functions like igtbl_getGridById (yes I am new). I kept on getting issues when calling igtbl_getGridById before finding out that I needed to include js files. I found ig_WebGrid.js and added the reference to this script file from my aspx page.
I now get the following error that Maya gets when the webpage first loads:
Error: 'ig_csom' is undefined
Comment: If I choose not to debug, I can continue on as normal however when I select a row, I only ever get a null value and I assume that this error has something to do with my problems.
I did some more research and ended up adding all the js files to my same script folder (including the ig_shared.js that is mentioned in your response). I then added the references to the script files:
<script type="text/javascript" language="javascript" src="js/ig_WebGrid.js"></script><script type="text/javascript" language="javascript" src="js/ig_Shared.js"></script>
I am still getting the same error. Do I need to reference every single ig_WebGrid*.js file? If so, I tried that as well and I had no luck. I also used this link for my reference, but still nothing (http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/Web_Deployment_Overview.html).
Any idea what I am doing wrong?
Thanks in advance for any help you can provide me.
i think you should check out a book called java complete reference.
i used it for my exams and project,
Web Development
The ig_shared must come before the webdatagrid file to initialize ig_cscom
<script type="text/javascript" language="javascript" src="ig_Shared.js"></script>
<script type="text/javascript" language="javascript" src="ig_WebDataGrid.js"></script>