Hello All,
I've been trying to assign the directory for all .js files of my Web Data Grid by following the article here.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6158
This is what I have in my Web.config file
<configuration>
<configSections>
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
</configuration>
<infragistics.web styleSetName="Default" javaScriptDirectory="~/Scripts" styleSetPath="~/Includes/ig_res/"/>
I've copied all files from the location C:\Program Files\Infragistics\NetAdvantage 2011.1\ASP.NET\CLR4.0\Scripts to the Scripts folder of my web site.
The script files in the local folder are not referred and the many scriptresource.axd files are still being loaded. Surprisingly the style set location is being used by the application.
I'm puzzled this isn't working.Please let me know if I have gone wrong some where.Any help is greatly appreciated.
Thanks,
Chidambaram
Hello chidambaram12,
If you are using the WebDataGrid, the article pointed here out is no longer usable. The article is for our Classic ASP.NET Toolset, however WebDataGrid is part of our new Aikido controls, anyway all you need to achieve the result is below :
1. Locate the grid js file at C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\ASP.NET\CLR4.0\Scripts (Installation directory)
2. Copy the files into directory of your webserver
3. Reference this file(s) in the page where the grid is placed
4. Set EnableEmbededJavaScript property of the grid to false
Best regards,