How can I load the control css file (wijmo.min.css) ?
Add it to the project under \Resources or \Platform as an embedded resource. Then in AssemblyInfo.cs add
using Wisej.Core; [assembly: WisejResources()]
The WisejResources attribute makes the Wisej engine take the js and css embedded files, bundle them (and minify if debug=false in Web.config) and serve them back to the client as two single bundled files: wisej.css and wisej.js. You can also copy in the wijmo js instead of linking the source in packages. The files are bundles in alphabetical order.
One more thing. You can also use the Wisej designer with wijmo widgets but there is an issue where wijmo doesn’t like dom ids starting with a number, we’ll fix that in Wisej. And your code has a getCountries() child method declared after it’s used; it’s fine in Chrome but generates a SyntaxError in IE. It should be declared before it’s usage.
You can also decide what to use at design time in your initialization script testing wisej.web.DesignMode. And… Somehow wijmo took over the dom and has slapped a trial notice on all widgets, including ours. See image below.
Thanks. There is an extra \ufeff character in the concatenation of the css. I don’t know where it’s coming from, could be an end of stream. It will be fixed in the next update. It works as soon as I delete it by hand. See image below. You can also easily modify the themes to have the same look as the wijmo combobox, if that’s what you need.
thanks for fast response . Yes, it’s working now, the styles are loaded.
Well I have another problem now . Not all styles are applied for third part control.