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
645
Infragistics Loader - themes not loading
posted

I am trying to load the metro theme using the Infragistics Loader.  The scriptPath and cssPath are setup correctly because I see the necessary scripts and css files for my resouces being loaded.  However, I never see the metro theme being loaded.  I am assuming since I am using the loader that I don't have to reference the metro theme in my code.  The javascript code is below

$.ig.loader(
{
scriptPath: '/Scripts/infragistics/',
cssPath: '/Content/',
resources: "igShared,igEditors,igValidator,extensions/infragistics.ui.editors.knockout-extensions.js",
theme: "metro",
ready: function () {

$.ui.igValidator.defaults.showAllErrorsOnSubmit = true;
$.ui.igValidator.defaults.formsubmit = false;
$.ui.igValidator.defaults.onblur = false;
$.ui.igValidator.defaults.onchange = false;
$.ui.igValidator.defaults.onsubmit = false;
$.ui.igValidator.defaults.alignment = 'right';

memberInfo.init();
}
}
);

Parents
  • 24671
    posted

    hi,

    That's weird. You only need to set theme: "metro", yes. Do you get any errors if you check out the Firebug / Chrome dev tools or IE Developer tools tabs ? is the metro theme css present in the "Content" folder you've referenced in the loader? You can also have a look at this sample :

    https://www.igniteui.com/themes/metro

    Hope it helps. Thanks,

    Angel

Reply Children
No Data