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(); } } );
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
There are no errors on the console tab. If I look at the network tab in Chrome I don't see it attempting to download the theme. I have had this working in small samples I was using to test things out, but once I plug it in here it does not work. Any ideas?