Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
If i add only tree control in MVC page, the performance of the apllication is going down
posted

I want to implement tree control of infragistics, but when I am trying to implement by bellow script

 

<script src="@Url.Content("~/Scripts/ig/modules/infragistics.ui.tree.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ig/modules/infragistics.ui.shared.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ig/modules/infragistics.util.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ig/modules/infragistics.templating.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ig/modules/infragistics.datasource.js")" type="text/javascript"></script>

 

 

In the mvc page but not going to work, so I have to mention bellow code in page but the performance of my application is going down.

 

<script src="@Url.Content("~/Scripts/ig/infragistics.core.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/ig/infragistics.lob.js")" type="text/javascript"></script>

 

Is there any way to load only tree control in the page which perfume faster.

  • 15320
    Suggested Answer
    Offline posted

    Hello sushant,

    Thank you for posting in our community.

    Please note that to work with IgniteUI controls, you should reference the needed resources correctly. If you choose to reference these resources manually, then please keep in mind their count and order. For more information of how to manage the required resources please refer to the following article:

    http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/Deployment_Guide_JavaScript_Resources.html

    The necessary resources for a particular control could be found at: http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/Deployment_Guide_JavaScript_Files.html#igTree

    Please note that infragistics.core.js and infragistics.lob.js are combined scripts and if you're referencing your scripts manually for the igTree, then there's no need to add them. Essentially they contain all other scripts in themselves, so you could reference either only them or only all other needed resources.

    If you have any further questions, feel free to contact me.

    Sincerely,

    Tsanna